[2/9] cryptui: Use "-1" as a "don't care value", fix dialog id duplicates.

Alexandre Julliard julliard at winehq.org
Mon Jan 12 07:17:46 CST 2009


Dmitry Timoshkov <dmitry at codeweavers.com> writes:

> 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

It would be better to use -1 directly in the resource file and get rid
of IDC_STATIC. There's no need to have a define for an ignored value.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list