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)