2004-12-10 [colin] 0.9.13cvs12.1
[claws.git] / src / messageview.c
index 05b9fc913ca6b8e46d7adaa505610e2903e72c10..2d7b3c9ea4ef4cd48706eec1829ed6c4a8342527 100644 (file)
@@ -1553,7 +1553,7 @@ void messageview_set_menu_sensitive(MessageView *messageview)
        GtkItemFactory *ifactory;
        GtkWidget *menuitem;
 
-       if (!messageview && !messageview->new_window) 
+       if (!messageview || !messageview->new_window) 
                return;
        /* do some smart things */
        if (!messageview->menubar) return;