aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gtk/PlatGTK.cxx2
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);