ntdll: Remove unwanted null terminator
Andrew Talbot
Andrew.Talbot at talbotville.com
Sun Sep 24 05:28:23 CDT 2006
Changelog:
ntdll: Remove unwanted null terminator.
diff -urN a/dlls/ntdll/directory.c b/dlls/ntdll/directory.c
--- a/dlls/ntdll/directory.c 2006-08-07 13:14:47.000000000 +0100
+++ b/dlls/ntdll/directory.c 2006-09-23 17:16:54.000000000 +0100
@@ -648,7 +648,8 @@
*/
static ULONG hash_short_file_name( const UNICODE_STRING *name, LPWSTR buffer )
{
- static const char hash_chars[32] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ012345";
+ static const char hash_chars[32] = {'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P',
+ 'Q','R','S','T','U','V','W','X','Y','Z','0','1','2','3','4','5'};
LPCWSTR p, ext, end = name->Buffer + name->Length / sizeof(WCHAR);
LPWSTR dst;
More information about the wine-patches
mailing list