* src/gtkstext.c
check if line_start_cache is set in gtk_stext_update_text (closes bug [ 618119 ] crash while doing search in folder)
This commit is contained in:
parent
1a285ad304
commit
bbce449bdf
3 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
|
|
@ -10,7 +10,7 @@ MINOR_VERSION=8
|
|||
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
|
||||
|
|
|
@ -5903,6 +5903,10 @@ gtk_stext_update_text (GtkEditable *editable,
|
|||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue