[2/7] msi: Use strcmpW instead of lstrcmpW to compare database strings.

Alexandre Julliard julliard at winehq.org
Wed Oct 6 09:22:03 CDT 2010

Hans Leidekker <hans at codeweavers.com> writes:

> An installer I have here uses \1 and \2 as delimiters in property strings.
> It turns out that on Wine lstrcmp("\1", "\2") returns 0, not -1, which causes
> the string table implementation to return the wrong value. This should be fixed,
> but it's better if database string comparisons do not depend on thread locale.

Yes, but isn't it supposed to follow Unicode sorting rules instead of
simply comparing code point values?

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list