mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-16 12:03:03 -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:
parent
81a11efdaf
commit
5e2c794424
@ -168,7 +168,7 @@ struct agent_callback {
|
|||||||
#define FONT_OEMUND 0x22
|
#define FONT_OEMUND 0x22
|
||||||
#define FONT_OEMBOLDUND 0x23
|
#define FONT_OEMBOLDUND 0x23
|
||||||
|
|
||||||
#define FONT_MAXNO 0x2F
|
#define FONT_MAXNO 0x40
|
||||||
#define FONT_SHIFT 5
|
#define FONT_SHIFT 5
|
||||||
static HFONT fonts[FONT_MAXNO];
|
static HFONT fonts[FONT_MAXNO];
|
||||||
static LOGFONT lfont;
|
static LOGFONT lfont;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user