From 0651019c7838e0f499cda4ff9797fd7dc16f1214 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 24 Apr 2003 08:14:56 +0000 Subject: Fixed late unchecked change. --- gtk/PlatGTK.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3