* src/folder.c
authorChristoph Hohmann <reboot@gmx.ch>
Tue, 17 Sep 2002 12:19:16 +0000 (12:19 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Tue, 17 Sep 2002 12:19:16 +0000 (12:19 +0000)
        initialize max values for cache and folder
        when cache or folder is empty

ChangeLog.claws
TODO.claws
configure.in
src/folder.c

index e8ccd22..4041eff 100644 (file)
@@ -1,3 +1,9 @@
+2002-09-17 [christoph] 0.8.2claws54
+
+       * src/folder.c
+               initialize max values for cache and folder
+               when cache or folder is empty
+
 2002-09-15 [colin]     0.8.2claws53
 
        * src/compose.c
index 92a0834..2fd1df6 100644 (file)
@@ -40,6 +40,8 @@ win32 0.8.0claws+
        o PEM support (S/MIME)
        o add new messages to the summaryview without reloading the
          whole list
+       o use template system for signatures/reply and forward format
+         (template selectable globally, in account prefs or folder prefs)
 
 [paul]
 
index 4230604..299e318 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws53
+EXTRA_VERSION=claws54
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index b91fa29..56f62db 100644 (file)
@@ -934,8 +934,10 @@ gint folder_item_scan(FolderItem *item)
                cache_cur_num = ((MsgInfo *)cache_list_cur->data)->msgnum;
                cache_list_last = g_slist_last(cache_list);
                cache_max_num = ((MsgInfo *)cache_list_last->data)->msgnum;
-       } else
+       } else {
                cache_cur_num = G_MAXINT;
+               cache_max_num = 0;
+       }
 
        if (folder_list_cur != NULL) {
                GSList *folder_list_last;
@@ -943,8 +945,10 @@ gint folder_item_scan(FolderItem *item)
                folder_cur_num = GPOINTER_TO_INT(folder_list_cur->data);
                folder_list_last = g_slist_last(folder_list);
                folder_max_num = GPOINTER_TO_INT(folder_list_last->data);
-       } else
+       } else {
                folder_cur_num = G_MAXINT;
+               folder_max_num = 0;
+       }
 
        while ((cache_cur_num != G_MAXINT) || (folder_cur_num != G_MAXINT)) {
                /*