DrawStatusText() must not process prefix characters.
authorEric Kohl <eric.kohl@reactos.org>
Tue, 26 Oct 2004 13:15:06 +0000 (13:15 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Tue, 26 Oct 2004 13:15:06 +0000 (13:15 +0000)
svn path=/trunk/; revision=11463

reactos/lib/comctl32/commctrl.c

index 2afca78..ab0723d 100644 (file)
@@ -482,7 +482,7 @@ void WINAPI DrawStatusTextW (HDC hdc, LPRECT lprc, LPCWSTR text, UINT style)
         r.left += 3;
         if (style & SBT_RTLREADING)
            FIXME("Unsupported RTL style!\n");
-        DrawTextW (hdc, text, -1, &r, align|DT_VCENTER|DT_SINGLELINE);
+        DrawTextW (hdc, text, -1, &r, align|DT_VCENTER|DT_SINGLELINE|DT_NOPREFIX);
        SetBkMode(hdc, oldbkmode);
     }
 }