mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 14:17:58 +00:00
winedbg: LoadStringw gets character size, not bytes.
This commit is contained in:
parent
c8dd507b62
commit
11705f569c
1 changed files with 2 additions and 2 deletions
|
@ -153,11 +153,11 @@ static void save_crash_log( HWND hwnd )
|
|||
memset( &save, 0, sizeof(save) );
|
||||
lstrcpyW( path, default_name );
|
||||
|
||||
LoadStringW( GetModuleHandleW(0), IDS_TEXT_FILES, buffer, sizeof(buffer) );
|
||||
LoadStringW( GetModuleHandleW(0), IDS_TEXT_FILES, buffer, sizeof(buffer)/sizeof(buffer[0]) );
|
||||
p = buffer + lstrlenW(buffer) + 1;
|
||||
lstrcpyW(p, txt_files);
|
||||
p += lstrlenW(p) + 1;
|
||||
LoadStringW( GetModuleHandleW(0), IDS_ALL_FILES, p, sizeof(buffer) - (p - buffer) );
|
||||
LoadStringW( GetModuleHandleW(0), IDS_ALL_FILES, p, sizeof(buffer)/sizeof(buffer[0]) - (p - buffer) );
|
||||
p += lstrlenW(p) + 1;
|
||||
lstrcpyW(p, all_files);
|
||||
p += lstrlenW(p) + 1;
|
||||
|
|
Loading…
Reference in a new issue