mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:15:52 +00:00
fix fontview build
svn path=/trunk/; revision=38058
This commit is contained in:
parent
76a198afb9
commit
6b7663640a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue