[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2989: rxvt source bug



Package: rxvt
Version: 2.14-1

In the source package, in the file 'resources.c', there is a typo
of rs_scrollbar for rs_scrollBar in lines 219 through 226
which prevents compilation with runtime selection of
scroll bar type (xterm vs. arrows). Here's a diff to create
a new resources.c from the renamed resources.c.orig


$ diff -c resources.c.orig resources.c
*** resources.c.orig    Tue May 14 00:38:18 1996
--- resources.c Tue May 14 00:38:47 1996
***************
*** 216,229 ****
     }
  #endif
  #ifdef SCROLLBAR_ANY
!    if (rs_scrollbar != NULL) {
!       if (!strcasecmp (rs_scrollbar, "true"))
        sbar.type = SBAR_NOARROWS;
!       else if (!strcasecmp (rs_scrollbar, "arrows"))
        sbar.type = SBAR_ARROWS;
        else
        sbar.type = SBAR_IGNORE;
!       FREE (rs_scrollbar, "scrollbar", fn);
     }
  #endif
     if (rs_saveLines != NULL)
--- 216,229 ----
     }
  #endif
  #ifdef SCROLLBAR_ANY
!    if (rs_scrollBar != NULL) {
!       if (!strcasecmp (rs_scrollBar, "true"))
        sbar.type = SBAR_NOARROWS;
!       else if (!strcasecmp (rs_scrollBar, "arrows"))
        sbar.type = SBAR_ARROWS;
        else
        sbar.type = SBAR_IGNORE;
!       FREE (rs_scrollBar, "scrollBar", fn);
     }
  #endif
     if (rs_saveLines != NULL)


Thanks,
Steve Greenland


--
The Mole - I think, therefore I scream

			    "And there!	 Between STAR TREK and ASTROBOY...
			     It's Zot's world!"
[Matt Feazall's send-up of ZOT!]


Reply to: