unicode fix submitted by Alte <010@imis.ru>
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Mon, 21 May 2001 20:52:23 +0000 (20:52 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Mon, 21 May 2001 20:52:23 +0000 (20:52 +0000)
ChangeLog.claws
src/codeconv.c
sylpheed.desktop
sylpheed.png

index 7586d3a..dd385e1 100644 (file)
@@ -9,6 +9,9 @@
        * src/textview.c: now also possible to add mail addresses by right
          clicking in the text view
 
+       * src/codeconv.c: merged patch which fixes endless loop when encountering
+         invalid wide characters; from Alte <010@imis.ru>  
+
 2001-05-20 [alfons]
 
        Added installation of gnome specific things:
index 32f347a..f822a3d 100644 (file)
@@ -840,6 +840,7 @@ void conv_encode_header(gchar *dest, gint len, const gchar *src,
                                mbl = wctomb(tmpp, *wtmpp);
                                if (mbl == -1) {
                                        g_warning("invalid wide character\n");
+                                       wtmpp++;
                                        continue;
                                }
                                /* g_free(raw); */
index 08e137a..e691ee0 100644 (file)
@@ -2,6 +2,6 @@
 Name=Sylpheed
 Comment=Sylpheed Mail
 Exec=sylpheed
-Icon=sylpheed.png
+Icon=sylpheed.xpm
 Terminal=0
 Type=Application
index 8a63447..e60c304 100644 (file)
Binary files a/sylpheed.png and b/sylpheed.png differ