--- rxvt-unicode/src/scrollbar.C 2011/08/26 08:20:43 1.70 +++ rxvt-unicode/src/scrollbar.C 2011/08/28 18:48:41 1.71 @@ -31,11 +31,9 @@ /* * Map or unmap a scrollbar. Returns non-zero upon change of state */ -int +void scrollBar_t::map (int map) { - int change = 0; - if (map) { state = STATE_IDLE; @@ -46,17 +44,13 @@ if (win) { XMapWindow (term->dpy, win); - change = 1; } } else { state = STATE_OFF; XUnmapWindow (term->dpy, win); - change = 1; } - - return change; } void