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

git.thebackupbox.net

rxvt-unicode-sixel

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

commit 6e05fb82e36027ed92b44419495d8cbde84f6a12
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Tue Mar 16 11:07:44 2004 +0000

    *** empty log message ***

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

index 87b8d33ebe005a740271181f887f8ee7c4547d9a..

index ..e10f7b20ddb152846d84fcf44a49fd0e5bb6f5b9 100644

--- a/src/defaultfont.C
+++ b/src/defaultfont.C
@@ -232,7 +232,10 @@ struct rxvt_font_default : rxvt_font {
     if (unicode <= 0x001f)
       return true;

-    if (unicode >= 0x0080 && unicode <= 0x009f)
+    if (unicode <= 0x007f)
+      return false;
+
+    if (unicode <= 0x009f)
       return true;

     if (unicode >= 0x2500 && unicode <= 0x259f)
@@ -1147,7 +1150,9 @@ rxvt_fontset::populate (const char *desc)
 int
 rxvt_fontset::find_font (unicode_t unicode)
 {
-  for (unsigned int i = 0; i < fonts.size (); i++)
+  for (unsigned int i = !!(0x20 <= unicode && unicode <= 0x7f); // skip pseudo-font for ascii
+       i < fonts.size ();
+       i++)
     {
       rxvt_font *f = fonts[i];

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

-- Response ended

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