Fixed typo that could make new messages count incorrect
[claws.git] / src / inc.c
index 3ed19f99524da50faf6acdf45b2874d10fca8841..69bb6545663b9e67f378000df73cd9b2e0204f16 100644 (file)
--- a/src/inc.c
+++ b/src/inc.c
@@ -367,7 +367,7 @@ void inc_all_account_mail(MainWindow *mainwin, gboolean notify)
        toolbar_main_set_sensitive(mainwin);
        main_window_set_menu_sensitive(mainwin);
 
-       new_msgs = inc_start(inc_dialog);
+       new_msgs += inc_start(inc_dialog);
        inc_finished(mainwin, new_msgs > 0);
        main_window_unlock(mainwin);
        inc_notify_cmd(new_msgs, notify);