gdi32: Provide a non-blank font face name for ANSI_FIXED_FONT.

This patch avoids using the wrong font when this stock font is selected,
which could be seen by modifying notepad to send WM_SETFONT to the edit
control with GetStockObject(ANSI_FIXED_FONT) for wParam.
oldstable
Dylan Smith 2010-03-04 05:17:29 -05:00 committed by Alexandre Julliard
parent 353035fadd
commit e2d7da0604
1 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,8 @@ static const LOGFONTW OEMFixedFont =
static const LOGFONTW AnsiFixedFont =
{ 12, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, ANSI_CHARSET,
0, 0, DEFAULT_QUALITY, FIXED_PITCH | FF_MODERN, {'\0'} };
0, 0, DEFAULT_QUALITY, FIXED_PITCH | FF_MODERN,
{'C','o','u','r','i','e','r','\0'} };
static const LOGFONTW AnsiVarFont =
{ 12, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, ANSI_CHARSET,