1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-08 23:03:43 -05:00

Reorganised the Unicode layer somewhat: moved luni_send and

lpage_send out into the line discipline, making them _clients_ of
the Unicode layer rather than part of it. This means they can access
ldisc->term, which in turn means I've been able to remove the
temporary global variable `term'. We're slowly getting there.

[originally from svn r2143]
This commit is contained in:
Simon Tatham
2002-10-26 11:08:59 +00:00
parent 24530b945e
commit 948f95d5e8
10 changed files with 117 additions and 237 deletions

View File

@ -118,6 +118,7 @@ static int caret_x = -1, caret_y = -1;
static void *ldisc;
static Backend *back;
static void *backhandle;
static Terminal *term;
#define FONT_NORMAL 0
#define FONT_BOLD 1
@ -1194,7 +1195,7 @@ static void init_fonts(int pick_width, int pick_height)
}
fontflag[0] = fontflag[1] = fontflag[2] = 1;
init_ucs_tables();
init_ucs();
}
static void another_font(int fontno)