[evolution-patches] fix for 45288
- From: Larry Ewing <lewing ximian com>
- To: patches <evolution-patches ximian com>
- Subject: [evolution-patches] fix for 45288
- Date: 23 Jun 2003 10:38:21 -0500
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]