-- 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: 564406cf64a95fd4443be9b1dc0db14b6c900ea1:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

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

commit 564406cf64a95fd4443be9b1dc0db14b6c900ea1
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Thu Nov 18 17:28:31 2010 +0000

    Do not change geometry if bgPixmap_t::set_file fails.

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

index 99ca516849a6d5343ee6fa04c5a53d89309cf460..

index ..299e392e008645bfb86c15bed9687a5622f8be82 100644

--- a/src/command.C
+++ b/src/command.C
@@ -3451,12 +3451,14 @@ rxvt_term::process_xterm_seq (int op, char *str, char resp)
             if (*str != ';')
               {
                 if (bgPixmap.set_file (str))	/* change pixmap */
-                  changed++;
-                str = strchr (str, ';');
-                if (str == NULL)
-                  bgPixmap.set_defaultGeometry ();
-                else
-                  bgPixmap.set_geometry (str+1);
+                  {
+                    changed++;
+                    str = strchr (str, ';');
+                    if (str == NULL)
+                      bgPixmap.set_defaultGeometry ();
+                    else
+                      bgPixmap.set_geometry (str+1);
+                  }
               }
             else
               {

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

-- Response ended

-- Page fetched on Sun Jun 2 10:23:37 2024