0.9.6claws24
authorChristoph Hohmann <reboot@gmx.ch>
Tue, 14 Oct 2003 12:24:02 +0000 (12:24 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Tue, 14 Oct 2003 12:24:02 +0000 (12:24 +0000)
* src/textview.c
        fix missing last line in plain/text mails

ChangeLog.claws
configure.ac
src/textview.c

index a1652b7..621051e 100644 (file)
@@ -1,8 +1,14 @@
+2003-10-14 [christoph] 0.9.6claws24
+
+       * src/textview.c
+               fix missing last line in plain/text mails
+
 2003-10-13 [luke]      0.9.6claws23
+
        * src/summaryview.c
                fix bug 334 (part 1)
 
-2003-10-13  [kov]      0.9.6claws22
+2003-10-13 [kov]       0.9.6claws22
 
        * src/mimeview.c
                error checking when the user enters a non-directory at
@@ -11,6 +17,7 @@
                adding a leading G_DIR_SEPARATOR.
 
 2003-10-13 [luke]      0.9.6claws21
+
        * src/compose.c
                error reporting for inserting files, including catching
                invalid characters for current locale/encoding
index db67a8d..977f94e 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=23
+EXTRA_VERSION=24
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index f3e64fd..06dcb4a 100644 (file)
@@ -569,7 +569,7 @@ static void textview_write_body(TextView *textview, MimeInfo *mimeinfo,
                fseek(tmpfp, mimeinfo->offset, SEEK_SET);
                debug_print("Viewing text content of type: %s (length: %d)\n", mimeinfo->subtype, mimeinfo->length);
                while ((fgets(buf, sizeof(buf), tmpfp) != NULL) && 
-                      (ftell(tmpfp) < mimeinfo->offset + mimeinfo->length))
+                      (ftell(tmpfp) <= mimeinfo->offset + mimeinfo->length))
                        textview_write_line(textview, buf, conv);
                fclose(tmpfp);
        }