check if line_start_cache is set in gtk_stext_update_text
(closes bug [ 618119 ] crash while doing search in folder)
+2002-10-05 [christoph] 0.8.3claws49
+
+ * src/gtkstext.c
+ check if line_start_cache is set in gtk_stext_update_text
+ (closes bug [ 618119 ] crash while doing search in folder)
+
2002-10-05 [christoph] 0.8.3claws48
* src/imap.c
MICRO_VERSION=3
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=claws48
+EXTRA_VERSION=claws49
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
gint width;
gint height;
+ /* Just ignore it if we haven't been size-allocated and realized yet */
+ if (text->line_start_cache == NULL)
+ return;
+
if (end_pos < 0)
end_pos = TEXT_LENGTH (text);