From 0218dbe25b68206442908b652b46b4974117bf9e Mon Sep 17 00:00:00 2001 From: Karoly Lorentey Date: Sun, 22 Apr 2007 13:47:56 +0000 Subject: [PATCH] Fix compilation error with non-toolkit scrollbar. * src/xterm.c (x_scroll_bar_expose): Fix reference to foreground pixel. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-604 --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index 6a574533a2c..8b0078d6af6 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -5308,7 +5308,7 @@ x_scroll_bar_expose (bar, event) /* Restore the foreground color of the GC if we changed it above. */ if (f->output_data.x->scroll_bar_foreground_pixel != -1) XSetForeground (FRAME_X_DISPLAY (f), gc, - f->output_data.x->foreground_pixel); + FRAME_FOREGROUND_PIXEL (f)); UNBLOCK_INPUT; -- 2.39.5