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 3d32b95..d2f0ae7 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
index 517d948..2101648 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 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
index 60b93fb..420cbb4 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)
 {
-       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);
 }