diff options
author | Rui Matos <tiagomatos@gmail.com> | 2013-03-25 15:29:37 +0100 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2013-03-25 13:31:18 -0400 |
commit | 670875d76ed212e0bb9d071ef79b56fa6dacae2a (patch) | |
tree | a6e69e2f0b04a26209d0394e0c97e6b25da50ff0 /eel | |
parent | 4688bd1ef265aa18042f5d1e099a7f440865c55b (diff) | |
download | nautilus-670875d76ed212e0bb9d071ef79b56fa6dacae2a.tar.gz |
eel-editable-label: Fix string length on retrieve-surrounding handler
https://bugzilla.gnome.org/show_bug.cgi?id=696532
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-editable-label.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eel/eel-editable-label.c b/eel/eel-editable-label.c index 17f7e1b47..243b655ec 100644 --- a/eel/eel-editable-label.c +++ b/eel/eel-editable-label.c @@ -2390,7 +2390,7 @@ eel_editable_label_retrieve_surrounding_cb (GtkIMContext *context, { gtk_im_context_set_surrounding (context, label->text, - strlen (label->text) + 1, + strlen (label->text), label->selection_end); return TRUE; |