repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 736dc2b68bb0b553d0ad3882abb6137ec1302c93:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 736dc2b68bb0b553d0ad3882abb6137ec1302c93
Author: Emanuele Giaquinta 
Date:   Sun Oct 14 12:31:59 2012 +0000

    Fix compilation with --disable-rxvt-scroll.

diff --git a/src/scrollbar.C b/src/scrollbar.C
index e851acdc858eed57eb72663d8fa65c38886f73a3..
index ..0f1f3346e8e401bf4fdbb47aacb2e71258fe919e 100644
--- a/src/scrollbar.C
+++ b/src/scrollbar.C
@@ -236,9 +236,11 @@ scrollBar_t::destroy ()
 int
 scrollBar_t::color ()
 {
+#ifdef RXVT_SCROLLBAR
   if (style == SB_STYLE_RXVT && shadow)
     return Color_trough;
   else
+#endif
     return Color_border;
 }

-----END OF PAGE-----