Commit a35e345c authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Allows DrawText(16|A|W) to get a NULL string as parameter.

parent 7fb732e5
......@@ -208,7 +208,8 @@ INT16 WINAPI DrawText16( HDC16 hdc, LPCSTR str, INT16 i_count,
TRACE("%s, %d , [(%d,%d),(%d,%d)]\n",
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;
......
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