fix fontview build

svn path=/trunk/; revision=38058
This commit is contained in:
Timo Kreuzer 2008-12-13 22:25:59 +00:00
parent 76a198afb9
commit 6b7663640a

View file

@ -152,7 +152,7 @@ Display_SetTypeFace(HWND hwnd, PEXTLOGFONTW pExtLogFont)
/* Set the new type face name */
pData = (DISPLAYDATA*)GetWindowLongPtr(hwnd, GWLP_USERDATA);
snwprintf(pData->szTypeFaceName, LF_FULLFACESIZE, pExtLogFont->elfFullName);
_snwprintf(pData->szTypeFaceName, LF_FULLFACESIZE, pExtLogFont->elfFullName);
/* Create the new fonts */
hDC = GetDC(hwnd);
@ -202,7 +202,7 @@ Display_SetString(HWND hwnd, LPARAM lParam)
DISPLAYDATA* pData;
pData = (DISPLAYDATA*)GetWindowLongPtr(hwnd, GWLP_USERDATA);
snwprintf(pData->szString, MAX_STRING, (WCHAR*)lParam);
_snwprintf(pData->szString, MAX_STRING, (WCHAR*)lParam);
// FIXME: redraw the window