[PATCH] pass correct buffersize to LCMapStringW

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Sun Sep 14 10:12:19 CDT 2008


Am Montag, den 15.09.2008, 00:01 +0900 schrieb Dmitry Timoshkov:
> "Michael Karcher" <wine at mkarcher.dialup.fu-berlin.de> wrote:
> >> LCMAP_SORTKEY takes the target buffer size in bytes in both A and W versions. 
> > Do you have any references for this claim? Wine doesn't implement it,
> > MSDN mentions only characters and there is no Wine API test to prove
> > your statement.
> Wine does implement that, and MSDN clearly describes the case of
> generating a sort key too.
Ugh. Sorry. Now I see. Ugly API, but Microsofts fault. Sort key
generation and string mapping shouldn't have been in the same function
at first.

Regards,
  Michael Karcher




More information about the wine-devel mailing list