[FONTVIEW]

Unescaped use of percent character in a format string causes percent glyph not to be displayed.
Patch by André Guibert de Bruet.
CORE-7934 #resolve #comment Fixed in revision 62281, thanks ;)

svn path=/trunk/; revision=62281
This commit is contained in:
Hermès Bélusca-Maïto 2014-02-21 15:49:06 +00:00
parent d996e6a34d
commit f71a826f2c

View file

@ -113,7 +113,7 @@ Display_DrawText(HDC hDC, DISPLAYDATA* pData, int nYPos)
TextOutW(hDC, 0, y, szCaption, (INT)wcslen(szCaption));
y += tm.tmHeight + 1;
swprintf(szCaption, L"0123456789.:,;(\"~!@#$%^&*')");
swprintf(szCaption, L"0123456789.:,;(\"~!@#$%%^&*')");
TextOutW(hDC, 0, y, szCaption, (INT)wcslen(szCaption));
y += tm.tmHeight + 1;