commdlg: Fix dialog template parser when caption starts with a DBCS character.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55043
This commit is contained in:
parent
9c4d30ad70
commit
c43a4aee77
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ static LPDLGTEMPLATEA convert_dialog( const char *p, DWORD size )
|
|||
}
|
||||
else copy_string( &out, &p, end - out );
|
||||
|
||||
if (*p & 0x80) /* window */
|
||||
if ((BYTE)*p == 0xff) /* window */
|
||||
{
|
||||
*out++ = 0xffff;
|
||||
*out++ = get_word( &p );
|
||||
|
|
Loading…
Add table
Reference in a new issue