* src/folder.c
authorChristoph Hohmann <reboot@gmx.ch>
Mon, 15 Jul 2002 18:33:13 +0000 (18:33 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Mon, 15 Jul 2002 18:33:13 +0000 (18:33 +0000)
        fix folder message count for folders without
        msg_is_changed (includes news folders)

ChangeLog.claws
configure.in
src/folder.c

index 5bfa4a0..c5f3370 100644 (file)
@@ -1,3 +1,9 @@
+2002-07-15 [christoph] 0.7.8claws71
+
+       * src/folder.c
+               fix folder message count for folders without
+               msg_is_changed (includes news folders)
+
 2002-07-15 [martin]    0.7.8claws70
 
        * src/summaryview.c
index bfe6d8a..5a93867 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws70
+EXTRA_VERSION=claws71
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index aaa7811..32f395e 100644 (file)
@@ -956,12 +956,11 @@ gint folder_item_scan(FolderItem *item)
                }
                /* Check if msginfo needs update if in cache and in folder */
                if((folderscaninfo[i] & IN_FOLDER) && 
-                  (folderscaninfo[i] & IN_CACHE) &&
-                  (folder->is_msg_changed != NULL)) {
+                  (folderscaninfo[i] & IN_CACHE)) {
                        MsgInfo *msginfo;
 
                        msginfo = msgcache_get_msg(item->cache, num);
-                       if(folder->is_msg_changed(folder, item, msginfo)) {
+                       if(folder->is_msg_changed && folder->is_msg_changed(folder, item, msginfo)) {
                                MsgInfo *newmsginfo;
 
                                msgcache_remove_msg(item->cache, msginfo->msgnum);