Author: cwittich
Date: Thu Apr  2 06:09:25 2015
New Revision: 67011

URL: http://svn.reactos.org/svn/reactos?rev=67011&view=rev
Log:
[STOBJECT]
Reorder volume menu items
patch by Jared
CORE-9468

Modified:
    trunk/reactos/dll/shellext/stobject/volume.cpp

Modified: trunk/reactos/dll/shellext/stobject/volume.cpp
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/stobject/volume.cpp?rev=67011&r1=67010&r2=67011&view=diff
==============================================================================
--- trunk/reactos/dll/shellext/stobject/volume.cpp      [iso-8859-1] (original)
+++ trunk/reactos/dll/shellext/stobject/volume.cpp      [iso-8859-1] Thu Apr  2 
06:09:25 2015
@@ -216,12 +216,12 @@
 {
     WCHAR strAdjust[128];
     WCHAR strOpen[128];
+    LoadStringW(g_hInstance, IDS_VOL_OPEN, strOpen, _countof(strOpen));
     LoadStringW(g_hInstance, IDS_VOL_ADJUST, strAdjust, _countof(strAdjust));
-    LoadStringW(g_hInstance, IDS_VOL_OPEN, strOpen, _countof(strOpen));
 
     HMENU hPopup = CreatePopupMenu();
+    AppendMenuW(hPopup, MF_STRING, IDS_VOL_OPEN, strOpen);
     AppendMenuW(hPopup, MF_STRING, IDS_VOL_ADJUST, strAdjust);
-    AppendMenuW(hPopup, MF_STRING, IDS_VOL_OPEN, strOpen);
 
     DWORD flags = TPM_RETURNCMD | TPM_NONOTIFY | TPM_RIGHTALIGN | 
TPM_BOTTOMALIGN;
     DWORD msgPos = GetMessagePos();


Reply via email to