projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb88aea
)
Patch by Brezenbak:
author
Thomas Bluemel
<thomas@reactsoft.com>
Thu, 15 Dec 2005 01:20:46 +0000
(
01:20
+0000)
committer
Thomas Bluemel
<thomas@reactsoft.com>
Thu, 15 Dec 2005 01:20:46 +0000
(
01:20
+0000)
- Fix loading of named resources. Fixes bug 1113
svn path=/trunk/; revision=20185
reactos/lib/rtl/res.c
patch
|
blob
|
history
diff --git
a/reactos/lib/rtl/res.c
b/reactos/lib/rtl/res.c
index
edd0c72
..
9c51341
100644
(file)
--- a/
reactos/lib/rtl/res.c
+++ b/
reactos/lib/rtl/res.c
@@
-144,7
+144,7
@@
IMAGE_RESOURCE_DIRECTORY *find_entry_by_name( IMAGE_RESOURCE_DIRECTORY *dir,
{
pos = (min + max) / 2;
str = (const IMAGE_RESOURCE_DIR_STRING_U *)((const char *)root + entry[pos].NameOffset);
- res =
wcsn
cmp( name, str->NameString, str->Length );
+ res =
_wcsni
cmp( name, str->NameString, str->Length );
if (!res && namelen == str->Length)
{
if (!entry[pos].DataIsDirectory == !want_dir)