Commit c43a4aee authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

commdlg: Fix dialog template parser when caption starts with a DBCS character.

parent 9c4d30ad
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment