From bb859601ee7f00dfd66011469b361dad1d7e246c Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 27 Apr 2005 21:22:40 +0000 Subject: [PATCH] Tiny manual CSE of previous commit. git-svn-id: svn://svn.tartarus.org/sgt/putty@5697 cda61777-01e9-0310-a592-d414129be87e --- unix/gtkwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/gtkwin.c b/unix/gtkwin.c index a5713852..31d13319 100644 --- a/unix/gtkwin.c +++ b/unix/gtkwin.c @@ -1885,7 +1885,7 @@ void do_text_internal(Context ctx, int x, int y, wchar_t *text, int len, GdkGC *gc = dctx->gc; int ncombining, combining; int nfg, nbg, t, fontid, shadow, rlen, widefactor; - int monochrome = gtk_widget_get_visual(dctx->inst->area)->depth == 1; + int monochrome = gtk_widget_get_visual(inst->area)->depth == 1; if (attr & TATTR_COMBINING) { ncombining = len; -- 2.11.0