diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/bookmarks/ephy-keywords-entry.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2003-03-09 Xan Lopez <xan@masilla.org> + + * src/bookmarks/ephy-keywords-entry.c: (try_to_expand_keyword): + + Pass -1 instead of strlen to automatic calculation of length (this + seems to be undocumented, but it's done in the code) + 2003-03-09 Dan Damian <dandamian@gmx.net> * lib/widgets/ephy-autocompletion-window.c: diff --git a/src/bookmarks/ephy-keywords-entry.c b/src/bookmarks/ephy-keywords-entry.c index eccb83aae..5a6accf0f 100644 --- a/src/bookmarks/ephy-keywords-entry.c +++ b/src/bookmarks/ephy-keywords-entry.c @@ -126,7 +126,7 @@ try_to_expand_keyword (GtkEditable *editable) gtk_editable_insert_text (editable, insert_text, - strlen (insert_text), + -1, &position); gtk_editable_select_region (editable, user_text_length + keyword_offset, -1); } |