repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 69072c420a2578515e81b7f9e6c1371471707b76: path_to: revision_to:
commit 69072c420a2578515e81b7f9e6c1371471707b76 Author: Emanuele GiaquintaDate: Wed Nov 2 12:43:50 2011 +0000 Fix range check on colour in {b,f}gcolor_of that prevented correct display of bold bright black, reported by Ben Winslow. diff --git a/src/rxvt.h b/src/rxvt.h
--- a/src/rxvt.h
+++ b/src/rxvt.h
@@ -1465,7 +1465,7 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen
# if ENABLE_STYLES
&& option (Opt_intensityStyles)
# endif
- && IN_RANGE_INC (base, minCOLOR, minBrightCOLOR))
+ && IN_RANGE_EXC (base, minCOLOR, minBrightCOLOR))
base += minBrightCOLOR - minCOLOR;
#endif
return base;
@@ -1479,7 +1479,7 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen
# if ENABLE_STYLES
&& option (Opt_intensityStyles)
# endif
- && IN_RANGE_INC (base, minCOLOR, minBrightCOLOR))
+ && IN_RANGE_EXC (base, minCOLOR, minBrightCOLOR))
base += minBrightCOLOR - minCOLOR;
#endif
return base;
-----END OF PAGE-----