mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
Don't access attr[-1]. (#153628, Padraig O'Briain)
2004-09-25 Matthias Clasen <mclasen@x1-6-00-50-fc-70-9f-e0> * gtk/gtktextiter.c (inside_word_func): Don't access attr[-1]. (#153628, Padraig O'Briain)
This commit is contained in:
parent
0f32b61dde
commit
d9e0f22ac7
@ -1,3 +1,8 @@
|
||||
2004-09-25 Matthias Clasen <mclasen@x1-6-00-50-fc-70-9f-e0>
|
||||
|
||||
* gtk/gtktextiter.c (inside_word_func): Don't access
|
||||
attr[-1]. (#153628, Padraig O'Briain)
|
||||
|
||||
2004-09-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c: Add some tooltips.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-09-25 Matthias Clasen <mclasen@x1-6-00-50-fc-70-9f-e0>
|
||||
|
||||
* gtk/gtktextiter.c (inside_word_func): Don't access
|
||||
attr[-1]. (#153628, Padraig O'Briain)
|
||||
|
||||
2004-09-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c: Add some tooltips.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-09-25 Matthias Clasen <mclasen@x1-6-00-50-fc-70-9f-e0>
|
||||
|
||||
* gtk/gtktextiter.c (inside_word_func): Don't access
|
||||
attr[-1]. (#153628, Padraig O'Briain)
|
||||
|
||||
2004-09-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c: Add some tooltips.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-09-25 Matthias Clasen <mclasen@x1-6-00-50-fc-70-9f-e0>
|
||||
|
||||
* gtk/gtktextiter.c (inside_word_func): Don't access
|
||||
attr[-1]. (#153628, Padraig O'Briain)
|
||||
|
||||
2004-09-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c: Add some tooltips.
|
||||
|
@ -2804,7 +2804,10 @@ inside_word_func (const PangoLogAttr *attrs,
|
||||
!(attrs[offset].is_word_start || attrs[offset].is_word_end))
|
||||
--offset;
|
||||
|
||||
if (offset >= 0)
|
||||
return attrs[offset].is_word_start;
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Sentence funcs */
|
||||
|
Loading…
Reference in New Issue
Block a user