fix folder update stats (I hope)
[claws.git] / src / procmsg.c
index 3a3b0e32b693f680b3a6ff16a60b9f6ec78a9051..e5095af61dfa1b63730423c15d3608017a8dc4d3 100644 (file)
@@ -441,8 +441,8 @@ static GHashTable *procmsg_read_mark_file(const gchar *folder)
 
        while (fread(&num, sizeof(num), 1, fp) == 1) {
                if (fread(&flags, sizeof(flags), 1, fp) != 1) break;
-               MSG_SET_FLAGS(flags, MSG_CACHED);
 
+               MSG_SET_FLAGS(flags, MSG_CACHED);
                g_hash_table_insert(mark_table,
                                    GUINT_TO_POINTER(num),
                                    GUINT_TO_POINTER(flags));