oleaut32: be more explicit with locale dependent parsing of dates

Alexandre Julliard julliard at winehq.org
Fri Apr 9 04:41:37 CDT 2010


André Hentschel <nerv at dawncrow.de> writes:

> @@ -7708,7 +7708,7 @@ HRESULT WINAPI VarDateFromStr(OLECHAR* strIn, LCID lcid, ULONG dwFlags, DATE* pd
>        break;
>  
>      case 0x1B: /* localized DDDTTT */
> -      if (!iDate)
> +      if (PRIMARYLANGID(lcid) != LANG_GERMAN)

Obviously you cannot hardcode specific locales like that.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list