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 d94331d820e5ea286bc5367af2eb247bc42bdd17..7b45ac63253e68e4f30168d6036b9c021212d436 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 9f3aeb39c7cd7423159a00c1784c09ed0f93e3f7..5883d7048cbeab6062e83dcf9560ddd270cedca9 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 27e15d0c8248f028fe1e46bccb4791cfd8179a05..b04b74b928482a4c06948463427266d0a2f14c7c 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;
                }