-- 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: 6b14c10d3593fc394753185c11904512e93392a3:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

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

commit 6b14c10d3593fc394753185c11904512e93392a3
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Mon Mar 25 12:28:04 2013 +0000

    Simplify.

    ccol1 already accounts for Color_cursor if it is set.

diff --git a/src/screen.C b/src/screen.C

index 60a95bac549afe676bcb82912a6223cfecfe49b5..

index ..c64bf0a38f75be29d10b35d721b2dab154bab7c1 100644

--- a/src/screen.C
+++ b/src/screen.C
@@ -2478,12 +2478,7 @@ rxvt_term::scr_refresh () NOTHROW
                  && drawn_buf[oldcursor.row].t[col + cursorwidth] == NOCHAR)
             cursorwidth++;

-#ifndef NO_CURSORCOLOR
-          if (ISSET_PIXCOLOR (Color_cursor))
-            XSetForeground (dpy, gc, pix_colors[Color_cursor]);
-          else
-#endif
-            XSetForeground (dpy, gc, pix_colors[ccol1]);
+          XSetForeground (dpy, gc, pix_colors[ccol1]);

           XDrawRectangle (dpy, vt, gc,
                           Col2Pixel (col),

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

-- Response ended

-- Page fetched on Sun Jun 2 09:39:59 2024