*** empty log message ***
authorroot <root>
Mon, 23 Aug 2004 18:48:03 +0000 (18:48 +0000)
committerroot <root>
Mon, 23 Aug 2004 18:48:03 +0000 (18:48 +0000)
src/encoding.C
src/xpm.C

index 90c012c07f94711a632bc16622cb432877898a23..4fa4279b7a0e4e8fa9215dc3caba56b7bfed7412 100644 (file)
@@ -306,5 +306,6 @@ rxvt_compose (unicode_t c1, unicode_t c2)
 
 bool unicode::is_space (unicode_t c)
 {
-  return IS_SPACE (c);
+  return IS_SPACE (c)
+         || c == 0x09; // exclude tabs, too, as we store them in the buffer
 }
index 8db48ba669b0030f3b55c849d2c71c8918df92a9..66c8dcf79d20a3a64af12266f37f6a1bde7614df 100644 (file)
--- a/src/xpm.C
+++ b/src/xpm.C
@@ -352,6 +352,7 @@ rxvt_term::set_bgPixmap (const char *file)
       XFreePixmap (display->display, bgPixmap.pixmap);
       bgPixmap.pixmap = None;
     }
+
   XSetWindowBackground (display->display, TermWin.vt, pix_colors[Color_bg]);
 
   if (*file != '\0')
@@ -383,7 +384,7 @@ rxvt_term::set_bgPixmap (const char *file)
           if ((p = strchr (file, ';')) == NULL)
             p = strchr (file, '\0');
 
-          rxvt_warn ("couldn't load XPM file \"%.*s\", ignoring.", (p - file), file);
+          rxvt_warn ("couldn't load XPM file \"%.*s\", ignoring.\n", (p - file), file);
         }
 
       free (f);