regsvr32: Replace strcasecmp() with calls to the is_flag function

Hugh McMaster hugh.mcmaster at masterindexing.com
Fri May 16 07:10:15 CDT 2014


This patch replaces calls to strcasecmp with calls to a new function called is_flag. The is_flag function calls "CompareStringA(...) == CSTR_EQUAL" on return, resulting in a BOOL.

This patch will make a forthcoming conversion to Unicode far cleaner and simpler.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regsvr32-add-is-flag-function.patch
Type: application/octet-stream
Size: 2012 bytes
Desc: regsvr32-add-is-flag-function.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140516/c5485fc0/attachment.obj>


More information about the wine-patches mailing list