diff options
author | Karoly Lorentey <karoly@lorentey.hu> | 2007-04-22 13:47:56 +0000 |
---|---|---|
committer | Karoly Lorentey <karoly@lorentey.hu> | 2007-04-22 13:47:56 +0000 |
commit | 0218dbe25b68206442908b652b46b4974117bf9e (patch) | |
tree | 33b0d40dbdc9909d8730e12f3e7bba812fe673de | |
parent | 2dadf3c832a5f4ffdc8e45ae63def70667dac34d (diff) | |
download | emacs-0218dbe25b68206442908b652b46b4974117bf9e.tar.gz |
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
-rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |