[2/9] cryptui: Use "-1" as a "don't care value", fix dialog id duplicates.
Dmitry Timoshkov
dmitry at codeweavers.com
Mon Jan 12 04:39:44 CST 2009
---
dlls/cryptui/cryptui_En.rc | 6 +++---
dlls/cryptui/cryptuires.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/cryptui/cryptui_En.rc b/dlls/cryptui/cryptui_En.rc
index 119eac6..b5bd067 100644
--- a/dlls/cryptui/cryptui_En.rc
+++ b/dlls/cryptui/cryptui_En.rc
@@ -274,11 +274,11 @@ BEGIN
PUSHBUTTON "B&rowse...", IDC_IMPORT_BROWSE_FILE, 236,11,60,14
LTEXT "Note: The following file formats may contain more than one certificate, certificate revocation list, or certificate trust list:", stc2, 21,26,265,16
LTEXT "Cryptographic Message Syntax Standard/PKCS #7 Messages (.p7b)",
- stc3, 31,49,265,10
+ IDC_STATIC, 31,49,265,10
LTEXT "Personal Information Exchange/PKCS #12 (.pfx, .p12)",
- stc3, 31,64,265,10
+ IDC_STATIC, 31,64,265,10
LTEXT "Microsoft Serialized Certificate Store (.sst)",
- stc3, 31,79,265,10
+ IDC_STATIC, 31,79,265,10
END
IDD_IMPORT_STORE DIALOG DISCARDABLE 0,0,317,143
diff --git a/dlls/cryptui/cryptuires.h b/dlls/cryptui/cryptuires.h
index 4f2cc7f..28d8376 100644
--- a/dlls/cryptui/cryptuires.h
+++ b/dlls/cryptui/cryptuires.h
@@ -162,7 +162,7 @@
#define IDB_CERT_WATERMARK 205
#define IDB_CERT_HEADER 206
-#define IDC_STATIC 2000
+#define IDC_STATIC -1
#define IDC_CERTIFICATE_ICON 2001
#define IDC_CERTIFICATE_INFO 2002
#define IDC_CERTIFICATE_STATUS 2003
--
1.6.1
More information about the wine-patches
mailing list