[PATCH] kernelbase: Only subtract 2 when strings arent equal.

Alexandre Julliard julliard at winehq.org
Tue Jul 2 00:55:24 CDT 2019


Alistair Leslie-Hughes <leslie_alistair at hotmail.com> writes:

> Restores code remove from commit 2a455ce049d65eeab95895b6b6d52f6e5047537b.
>
> Always subtracting 2 means two strings could never be equal, returning 0.

CompareString() only returns 0 on error. Where do you see such an error?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list