* src/maemo/modest-msg-view-window.c:
authorJose Dapena Paz <jdapena@igalia.com>
Thu, 22 May 2008 13:16:27 +0000 (13:16 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Thu, 22 May 2008 13:16:27 +0000 (13:16 +0000)
* Fix a smal but ugly typo that broke the msg next/prev
  functionality.

pmo-trunk-r4559

src/maemo/modest-msg-view-window.c

index f470427..f52eb00 100644 (file)
@@ -1634,7 +1634,7 @@ modest_msg_view_window_is_search_result (ModestMsgViewWindow *window)
 static gboolean
 msg_is_visible (TnyHeader *header, gboolean check_outbox)
 {
-       if (!(tny_header_get_flags(header) & TNY_HEADER_FLAG_DELETED))
+       if ((tny_header_get_flags(header) & TNY_HEADER_FLAG_DELETED))
                return FALSE;
        if (!check_outbox) {
                return TRUE;