X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-window-mgr.c;h=e30be7eb89ed50b6c335257712c06106bc4f8289;hp=3477b2debddc6d6503cdd58e77e9afdb94a2f4e7;hb=5065a8831bafc9d6e1d9d2d5f6083f99b810a4ea;hpb=ec52279263ee5195b0c56353c3b709341b6bbf14 diff --git a/src/widgets/modest-window-mgr.c b/src/widgets/modest-window-mgr.c index 3477b2d..e30be7e 100644 --- a/src/widgets/modest-window-mgr.c +++ b/src/widgets/modest-window-mgr.c @@ -300,7 +300,7 @@ compare_msguids (ModestWindow *win, /* Get message uid from msg window */ msg_uid = modest_msg_view_window_get_message_uid (MODEST_MSG_VIEW_WINDOW (win)); - if (msg_uid && !strcmp (msg_uid, uid)) + if (msg_uid && uid &&!strcmp (msg_uid, uid)) return 0; else return 1;