=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: winefile: Use defines instead of numbers.
Alexandre Julliard
julliard at winehq.org
Fri Nov 29 13:24:27 CST 2013
Module: wine
Branch: master
Commit: ca58cea0a5feb3852bcb7d596c97ae0ad85b9370
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ca58cea0a5feb3852bcb7d596c97ae0ad85b9370
Author: André Hentschel <nerv at dawncrow.de>
Date: Wed Nov 27 23:06:34 2013 +0100
winefile: Use defines instead of numbers.
---
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
}
More information about the wine-cvs
mailing list