summaryrefslogtreecommitdiff
path: root/app/xterm/doublechr.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/xterm/doublechr.c')
-rw-r--r--app/xterm/doublechr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/xterm/doublechr.c b/app/xterm/doublechr.c
index 26cd4e3c6..bcfcddae3 100644
--- a/app/xterm/doublechr.c
+++ b/app/xterm/doublechr.c
@@ -1,4 +1,4 @@
-/* $XTermId: doublechr.c,v 1.72 2009/08/07 00:25:02 tom Exp $ */
+/* $XTermId: doublechr.c,v 1.73 2009/11/28 13:28:03 tom Exp $ */
/************************************************************
@@ -50,7 +50,7 @@ authorization.
static void
repaint_line(XtermWidget xw, unsigned newChrSet)
{
- TScreen *screen = &xw->screen;
+ TScreen *screen = TScreenOf(xw);
LineData *ld;
int curcol = screen->cur_col;
int currow = screen->cur_row;
@@ -140,7 +140,7 @@ xterm_DECDWL(XtermWidget xw GCC_UNUSED)
static void
discard_font(XtermWidget xw, int n)
{
- TScreen *screen = &xw->screen;
+ TScreen *screen = TScreenOf(xw);
XTermFonts *data = &(screen->double_fonts[n]);
TRACE(("discard_font chrset=%d %s\n", data->chrset,
@@ -165,7 +165,7 @@ discard_font(XtermWidget xw, int n)
static XTermFonts *
pushback_font(XtermWidget xw, XTermFonts * source)
{
- TScreen *screen = &xw->screen;
+ TScreen *screen = TScreenOf(xw);
XTermFonts *data = screen->double_fonts;
int n;
@@ -190,7 +190,7 @@ xterm_Double_index(XtermWidget xw, unsigned chrset, unsigned flags)
{
int n;
int result = -1;
- TScreen *screen = &xw->screen;
+ TScreen *screen = TScreenOf(xw);
XTermFonts *data = screen->double_fonts;
flags &= BOLD;
@@ -228,7 +228,7 @@ xterm_DoubleGC(XtermWidget xw,
GC old_gc,
int *inxp)
{
- TScreen *screen = &(xw->screen);
+ TScreen *screen = TScreenOf(xw);
VTwin *cgsWin = WhichVWin(screen);
int n;
char *name;