* src/compose.c
From 3.0.1cvs17
Fix for bug 1327, 'segfault when replying to a non-existent
news message'
+2007-10-01 [colin] 3.0.1cvs7-stable
+
+ * src/compose.c
+ From 3.0.1cvs17
+ Fix for bug 1327, 'segfault when replying to a non-existent
+ news message'
+
2007-10-01 [colin] 3.0.1cvs6-stable
* src/folderview.c
( cvs diff -u -r 1.36.2.110.2.2 -r 1.36.2.110.2.3 src/common/utils.c; ) > 3.0.1cvs4-stable.patchset
( cvs diff -u -r 1.207.2.181.2.2 -r 1.207.2.181.2.3 src/folderview.c; cvs diff -u -r 1.20.2.21 -r 1.20.2.22 src/folderview.h; ) > 3.0.1cvs5-stable.patchset
( cvs diff -u -r 1.207.2.181.2.3 -r 1.207.2.181.2.4 src/folderview.c; ) > 3.0.1cvs6-stable.patchset
+( cvs diff -u -r 1.382.2.406.2.2 -r 1.382.2.406.2.3 src/compose.c; ) > 3.0.1cvs7-stable.patchset
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=6
+EXTRA_VERSION=7
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=-stable
g_warning("compose_reply_mode(): invalid Compose Mode: %d\n", mode);
}
+ if (compose == NULL) {
+ alertpanel_error(_("Unable to reply. The original email probably doesn't exist."));
+ return NULL;
+ }
ifactory = gtk_item_factory_from_widget(compose->menubar);
compose->rmode = mode;
} else
compose = compose_reply_mode((ComposeMode)action, msginfo_list, body);
- if (originally_enc) {
+ if (compose && originally_enc) {
compose_force_encryption(compose, compose->account, FALSE);
}