[evolution-patches] fix for 45288



This should avoid the crash that was introduced by the last patch.

--Larry
Index: folder-browser.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/folder-browser.c,v
retrieving revision 1.346
diff -u -p -r1.346 folder-browser.c
--- folder-browser.c	20 Jun 2003 04:57:50 -0000	1.346
+++ folder-browser.c	23 Jun 2003 15:15:12 -0000
@@ -2473,7 +2473,7 @@ do_message_selected (FolderBrowser *fb)
 	
 	/* if we are loading, then set a pending, but leave the loading, coudl cancel here (?) */
 	if (fb->loading_uid) {
-		if (fb->new_uid == NULL || strcmp(fb->pending_uid, fb->new_uid) != 0) {
+		if (fb->new_uid == NULL || fb->pending_uid == NULL || strcmp(fb->pending_uid, fb->new_uid) != 0) {
 			g_free (fb->pending_uid);
 			fb->pending_uid = g_strdup (fb->new_uid);
 		}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]