diff options
author | nyamatongwe <devnull@localhost> | 2003-04-24 08:14:56 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-04-24 08:14:56 +0000 |
commit | 7ec4d09df739591d81527e0d5103d52f7945088a (patch) | |
tree | e404442fecad83706587120b3fc41608e27e3341 | |
parent | 006af761ee67257fee71fb8226d3e3fcfb029e3a (diff) | |
download | scintilla-mirror-7ec4d09df739591d81527e0d5103d52f7945088a.tar.gz |
Fixed late unchecked change.
-rw-r--r-- | gtk/PlatGTK.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index e8168557b..b3bb534c3 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -1377,7 +1377,7 @@ int SurfaceImpl::WidthText(Font &font_, const char *s, int len) { utfForm = UTF8FromLatin1(s, len); } pango_layout_set_text(layout, utfForm, strlen(utfForm)); - len = strlen(utfForm) + len = strlen(utfForm); } pango_layout_index_to_pos(layout, len, &pos); int width = PANGO_PIXELS(pos.x); |