# HG changeset patch # User Karoly Lorentey # Date 1177249676 0 # Node ID 8cb34e1b7bbb22acb2adfb05365472f1bde40871 # Parent 617cce375495a3fbe4613f97910f09d38873461a 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 diff -r 617cce375495 -r 8cb34e1b7bbb src/xterm.c --- a/src/xterm.c Sun Apr 22 12:52:14 2007 +0000 +++ b/src/xterm.c Sun Apr 22 13:47:56 2007 +0000 @@ -5308,7 +5308,7 @@ /* 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;