Fix segfault when forwarding nothing
authorColin Leroy <colin@colino.net>
Thu, 30 Jan 2003 23:49:53 +0000 (23:49 +0000)
committerColin Leroy <colin@colino.net>
Thu, 30 Jan 2003 23:49:53 +0000 (23:49 +0000)
Patch from "Ruslan N. Balkin" <baron@voices.ru>

ChangeLog.claws
configure.ac
src/summaryview.c

index d94331d..7b45ac6 100644 (file)
@@ -1,3 +1,9 @@
+2003-01-31 [colin]     0.8.9claws23
+
+       * src/summaryview.c
+               Fix segfault when forwarding nothing
+               Patch from "Ruslan N. Balkin" <baron@voices.ru>
+               
 2003-01-30 [paul]      0.8.9claws22
 
        * sync with 0.8.9cvs3
index 9f3aeb3..5883d70 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=9
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws22
+EXTRA_VERSION=claws23
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 27e15d0..b04b74b 100644 (file)
@@ -4171,7 +4171,7 @@ void summary_reply(SummaryView *summaryview, ComposeMode mode)
                }
                break;
        case COMPOSE_FORWARD_INLINE:
-               if (!sel->next) {
+               if (sel && !sel->next) {
                        compose_forward(NULL, msginfo, FALSE, text);
                        break;
                }