1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-12 18:13:50 -05:00

Increase FONT_MAXNO from 0x2f to 0x40, to ensure the fonts[] array

includes every possible combination of the font bitfields, in
particular ATTR_OEM|ATTR_NARROW.

[originally from svn r9966]
This commit is contained in:
Simon Tatham 2013-07-22 07:12:31 +00:00
parent 81a11efdaf
commit 5e2c794424

View File

@ -168,7 +168,7 @@ struct agent_callback {
#define FONT_OEMUND 0x22
#define FONT_OEMBOLDUND 0x23
#define FONT_MAXNO 0x2F
#define FONT_MAXNO 0x40
#define FONT_SHIFT 5
static HFONT fonts[FONT_MAXNO];
static LOGFONT lfont;