diff options
| author | Karoly Lorentey | 2007-04-22 13:47:56 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2007-04-22 13:47:56 +0000 |
| commit | 0218dbe25b68206442908b652b46b4974117bf9e (patch) | |
| tree | 33b0d40dbdc9909d8730e12f3e7bba812fe673de /src | |
| parent | 2dadf3c832a5f4ffdc8e45ae63def70667dac34d (diff) | |
| download | emacs-0218dbe25b68206442908b652b46b4974117bf9e.tar.gz emacs-0218dbe25b68206442908b652b46b4974117bf9e.zip | |
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
Diffstat (limited to 'src')
| -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) | |||
| 5308 | /* Restore the foreground color of the GC if we changed it above. */ | 5308 | /* Restore the foreground color of the GC if we changed it above. */ |
| 5309 | if (f->output_data.x->scroll_bar_foreground_pixel != -1) | 5309 | if (f->output_data.x->scroll_bar_foreground_pixel != -1) |
| 5310 | XSetForeground (FRAME_X_DISPLAY (f), gc, | 5310 | XSetForeground (FRAME_X_DISPLAY (f), gc, |
| 5311 | f->output_data.x->foreground_pixel); | 5311 | FRAME_FOREGROUND_PIXEL (f)); |
| 5312 | 5312 | ||
| 5313 | UNBLOCK_INPUT; | 5313 | UNBLOCK_INPUT; |
| 5314 | 5314 | ||