winefile: Use defines instead of numbers

André Hentschel nerv at dawncrow.de
Wed Nov 27 16:06:34 CST 2013


---
 programs/winefile/resource.h  | 2 ++
 programs/winefile/winefile.rc | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/programs/winefile/resource.h b/programs/winefile/resource.h
index 83a6368..99f94aa 100644
--- a/programs/winefile/resource.h
+++ b/programs/winefile/resource.h
@@ -47,6 +47,8 @@
 #define ID_FILE_MOVE                    106
 #define ID_FILE_COPY                    107
 #define ID_FILE_DELETE                  108
+#define ID_RENAME                       109
+#define ID_MKDIR                        111
 #define ID_FILE_EXIT                    115
 #define ID_CONNECT_NETWORK_DRIVE        252
 #define ID_DISCONNECT_NETWORK_DRIVE     253
diff --git a/programs/winefile/winefile.rc b/programs/winefile/winefile.rc
index 21c1c98..758f740 100644
--- a/programs/winefile/winefile.rc
+++ b/programs/winefile/winefile.rc
@@ -29,12 +29,12 @@ IDM_WINEFILE MENU
         MENUITEM "&Move...\tF7",                ID_FILE_MOVE
         MENUITEM "&Copy...\tF8",                ID_FILE_COPY
         MENUITEM "&Delete\tDel",                ID_FILE_DELETE
-        MENUITEM "Re&name...",                  109
+        MENUITEM "Re&name...",                  ID_RENAME
         MENUITEM "Propert&ies\tAlt+Enter",   ID_EDIT_PROPERTIES
         MENUITEM SEPARATOR
         MENUITEM "&Run...",                     ID_RUN
         MENUITEM SEPARATOR
-        MENUITEM "Cr&eate Directory...",        111
+        MENUITEM "Cr&eate Directory...",        ID_MKDIR
         MENUITEM SEPARATOR
         MENUITEM "E&xit",                       ID_FILE_EXIT
     }
-- 
1.8.1.2




More information about the wine-patches mailing list