[ros-diffs] [weiden] 20185: Patch by Brezenbak:
weiden at svn.reactos.com
weiden at svn.reactos.com
Thu Dec 15 02:20:50 CET 2005
Patch by Brezenbak:
- Fix loading of named resources. Fixes bug 1113
Modified: trunk/reactos/lib/rtl/res.c
_____
Modified: trunk/reactos/lib/rtl/res.c
--- trunk/reactos/lib/rtl/res.c 2005-12-15 00:25:09 UTC (rev 20184)
+++ trunk/reactos/lib/rtl/res.c 2005-12-15 01:20:46 UTC (rev 20185)
@@ -144,7 +144,7 @@
{
pos = (min + max) / 2;
str = (const IMAGE_RESOURCE_DIR_STRING_U *)((const char *)root
+ entry[pos].NameOffset);
- res = wcsncmp( name, str->NameString, str->Length );
+ res = _wcsnicmp( name, str->NameString, str->Length );
if (!res && namelen == str->Length)
{
if (!entry[pos].DataIsDirectory == !want_dir)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051215/81fc4f33/attachment.html
More information about the Ros-diffs
mailing list