changeset 83564:8cb34e1b7bbb

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
author Karoly Lorentey <karoly@lorentey.hu>
date Sun, 22 Apr 2007 13:47:56 +0000
parents 617cce375495
children 41aaac7180d5
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;