-- 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: 9212e2dc42f8ef8a455424a1a6a2216753481510:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

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

commit 9212e2dc42f8ef8a455424a1a6a2216753481510
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Fri Jun 1 16:07:35 2012 +0000

    Define parse_image and finalize the image vector also when NO_RESOURCES
    is defined.

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

index 1fe340da763174692c43b36f7aa703572912ac0d..

index ..3cad18153672648daa0834ec9eab44c8a9f9b480 100644

--- a/src/background.C
+++ b/src/background.C
@@ -675,6 +675,7 @@ rxvt_define_image (XrmDatabase *database ecb_unused,
     }
   return False;
 }
+#  endif

 void
 rxvt_term::parse_image (int id, const char *type, const char *arg)
@@ -684,7 +685,6 @@ rxvt_term::parse_image (int id, const char *type, const char *arg)

   rxvt_image *image = &image_vec[id];
 }
-#  endif

 rxvt_image::rxvt_image ()
 {
@@ -1211,6 +1211,8 @@ rxvt_term::bg_init ()

 # ifndef NO_RESOURCES
   find_resources ("image", "Image", XrmEnumAllLevels, rxvt_define_image);
+# endif
+
   vector<rxvt_image>::iterator bg_image = image_vec.begin ();
   while (bg_image != image_vec.end ())
     {
@@ -1224,7 +1226,6 @@ rxvt_term::bg_init ()
           bg_image++;
         }
     }
-# endif

   if (image_vec.size () > 0
       && !bg_window_position_sensitive ())

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

-- Response ended

-- Page fetched on Sun Jun 2 13:04:02 2024