[STOBJECT]
authorChristoph von Wittich <christoph_vw@reactos.org>
Thu, 2 Apr 2015 06:09:25 +0000 (06:09 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Thu, 2 Apr 2015 06:09:25 +0000 (06:09 +0000)
Reorder volume menu items
patch by Jared
CORE-9468

svn path=/trunk/; revision=67011

reactos/dll/shellext/stobject/volume.cpp

index 9d407cc..2811707 100644 (file)
@@ -216,12 +216,12 @@ static void _ShowContextMenu(CSysTray * pSysTray)
 {
     WCHAR strAdjust[128];
     WCHAR strOpen[128];
-    LoadStringW(g_hInstance, IDS_VOL_ADJUST, strAdjust, _countof(strAdjust));
     LoadStringW(g_hInstance, IDS_VOL_OPEN, strOpen, _countof(strOpen));
+    LoadStringW(g_hInstance, IDS_VOL_ADJUST, strAdjust, _countof(strAdjust));
 
     HMENU hPopup = CreatePopupMenu();
-    AppendMenuW(hPopup, MF_STRING, IDS_VOL_ADJUST, strAdjust);
     AppendMenuW(hPopup, MF_STRING, IDS_VOL_OPEN, strOpen);
+    AppendMenuW(hPopup, MF_STRING, IDS_VOL_ADJUST, strAdjust);
 
     DWORD flags = TPM_RETURNCMD | TPM_NONOTIFY | TPM_RIGHTALIGN | TPM_BOTTOMALIGN;
     DWORD msgPos = GetMessagePos();