diff options
author | Ryan Lortie <desrt@desrt.ca> | 2006-01-11 15:22:53 +0000 |
---|---|---|
committer | Ryan Lortie <ryanl@src.gnome.org> | 2006-01-11 15:22:53 +0000 |
commit | 6f55ef202be4a67d530e199071948dca35d49aae (patch) | |
tree | 6c4be2a4466b69102d1dbd056bbd3e856dd62f29 /src/nautilus-location-entry.c | |
parent | 962e4b4d066c3c9bd96a9436eee7f9ce42b04055 (diff) | |
download | nautilus-6f55ef202be4a67d530e199071948dca35d49aae.tar.gz |
Use strlen() instead of g_utf8_strlen() since gtk_editable_insert_text
2006-01-11 Ryan Lortie <desrt@desrt.ca>
* src/nautilus-location-entry.c (try_to_expand_path): Use strlen()
instead of g_utf8_strlen() since gtk_editable_insert_text takes
the number of bytes (not number of characters). Fixes #324406.
Diffstat (limited to 'src/nautilus-location-entry.c')
-rw-r--r-- | src/nautilus-location-entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-location-entry.c b/src/nautilus-location-entry.c index 6ede24c10..b0d967c22 100644 --- a/src/nautilus-location-entry.c +++ b/src/nautilus-location-entry.c @@ -291,7 +291,7 @@ try_to_expand_path (gpointer callback_data) pos = user_location_length; gtk_editable_insert_text (editable, insert_text, - g_utf8_strlen (insert_text, -1), + strlen (insert_text), &pos); pos = user_location_length; |