diff options
author | nyamatongwe <unknown> | 2003-04-24 08:14:56 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-04-24 08:14:56 +0000 |
commit | 0651019c7838e0f499cda4ff9797fd7dc16f1214 (patch) | |
tree | e404442fecad83706587120b3fc41608e27e3341 | |
parent | e7514081c5d504b1bdc3629d18dcf3952f032a14 (diff) | |
download | scintilla-mirror-0651019c7838e0f499cda4ff9797fd7dc16f1214.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); |