From: Hermès Bélusca-Maïto Date: Fri, 21 Feb 2014 15:49:06 +0000 (+0000) Subject: [FONTVIEW] X-Git-Tag: ReactOS-0.3.16-CLT2014~70 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=f71a826f2c469bd0f5de11646056ff31928fee26;ds=sidebyside [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 --- diff --git a/reactos/base/applications/fontview/display.c b/reactos/base/applications/fontview/display.c index f00992cf028..9e1f2f215a6 100644 --- a/reactos/base/applications/fontview/display.c +++ b/reactos/base/applications/fontview/display.c @@ -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;