Allows DrawText(16|A|W) to get a NULL string as parameter.
This commit is contained in:
parent
7fb732e597
commit
a35e345c04
|
@ -209,6 +209,7 @@ INT16 WINAPI DrawText16( HDC16 hdc, LPCSTR str, INT16 i_count,
|
|||
debugstr_an (str, count), count,
|
||||
rect->left, rect->top, rect->right, rect->bottom);
|
||||
|
||||
if (!str) return 0;
|
||||
if (count == -1) count = strlen(str);
|
||||
strPtr = str;
|
||||
|
||||
|
|
Loading…
Reference in New Issue