Hello, Changelog: Dmitry Timoshkov <dmitry@codeweavers.com> Fix an obvious typo in get_res_name. Spotted by Mike McCormack. --- cvs/hq/wine/dlls/kernel/resource.c Wed May 07 04:33:28 2003 +++ wine/dlls/kernel/resource.c Tue May 13 11:29:56 2003 @@ -52,7 +52,7 @@ static NTSTATUS get_res_nameA( LPCSTR na if (name[0] == '#') { ULONG value; - if (RtlCharToInteger( name, 10, &value ) != STATUS_SUCCESS || HIWORD(value)) + if (RtlCharToInteger( name + 1, 10, &value ) != STATUS_SUCCESS || HIWORD(value)) return STATUS_INVALID_PARAMETER; str->Buffer = (LPWSTR)value; return STATUS_SUCCESS; @@ -73,7 +73,7 @@ static NTSTATUS get_res_nameW( LPCWSTR n if (name[0] == '#') { ULONG value; - RtlInitUnicodeString( str, name ); + RtlInitUnicodeString( str, name + 1 ); if (RtlUnicodeStringToInteger( str, 10, &value ) != STATUS_SUCCESS || HIWORD(value)) return STATUS_INVALID_PARAMETER; str->Buffer = (LPWSTR)value;