fix crash when changing field type in Quick Search bar
authorPaul Mangan <paul@claws-mail.org>
Wed, 21 Aug 2002 07:43:50 +0000 (07:43 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 21 Aug 2002 07:43:50 +0000 (07:43 +0000)
ChangeLog.claws
configure.in
src/summaryview.c

index 3d32b95ec1370eb0a1f4da201ffa9efcdea665d0..d2f0ae768c4c79d95454faca60f146e45e1481cf 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-21 [paul]      0.8.1claws89
+
+       * src/summaryview.c
+               fix crash when changing field type in
+               Quick search bar
+
 2002-08-21 [colin]     0.8.1claws88
 
        * src/summaryview.c
 2002-08-21 [colin]     0.8.1claws88
 
        * src/summaryview.c
index 517d9481611dc0dd1afb8755ea33ba9823529826..2101648b17bdb1037fb92501b632c6bc1a529c8c 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws88
+EXTRA_VERSION=claws89
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 60b93fb5a179740a7ee5e56c4643027137c43264..420cbb49aef454449f9c66e5c0aae1624d1db3ce 100644 (file)
@@ -4464,7 +4464,7 @@ static void summary_searchbar_pressed(GtkWidget *widget, GdkEventKey *event,
 static void summary_searchtype_changed(GtkWidget *widget, GdkEventAny *event,
                                SummaryView *summaryview)
 {
 static void summary_searchtype_changed(GtkWidget *widget, GdkEventAny *event,
                                SummaryView *summaryview)
 {
-       if (strlen(gtk_entry_get_text(GTK_ENTRY(summaryview->search_string))) > 0)
+       if (gtk_entry_get_text(GTK_ENTRY(summaryview->search_string)))
                summary_show(summaryview, summaryview->folder_item);
 }
 
                summary_show(summaryview, summaryview->folder_item);
 }