From 6b7663640ac1d824510fa07f09f2e713b74ef883 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 13 Dec 2008 22:25:59 +0000 Subject: [PATCH] fix fontview build svn path=/trunk/; revision=38058 --- rosapps/applications/fontview/display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rosapps/applications/fontview/display.c b/rosapps/applications/fontview/display.c index d30007b265c..cc1e9b3a3f6 100644 --- a/rosapps/applications/fontview/display.c +++ b/rosapps/applications/fontview/display.c @@ -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