-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: 69072c420a2578515e81b7f9e6c1371471707b76:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 69072c420a2578515e81b7f9e6c1371471707b76
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   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

index bc06d3d278125bb819ec25d051609e10391c56dc..

index ..b27508c038810a892a8881a140ed087911121add 100644

--- 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-----

-- Response ended

-- Page fetched on Sun Jun 2 12:56:29 2024