Commit b13b2474 authored by Ulrich Czekalla's avatar Ulrich Czekalla Committed by Alexandre Julliard

WM_GETTEXTLENGTH should return zero for owner drawn status bars.

parent fe7fc51a
......@@ -455,7 +455,7 @@ STATUSBAR_GetTextLength (STATUS_INFO *infoPtr, INT nPart)
else
part = &infoPtr->parts[nPart];
if (part->text)
if ((~part->style & SBT_OWNERDRAW) && part->text)
result = strlenW(part->text);
else
result = 0;
......
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