diff options
Diffstat (limited to 'src/core/window-props.c')
-rw-r--r-- | src/core/window-props.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/window-props.c b/src/core/window-props.c index 06df9e66..fd48e732 100644 --- a/src/core/window-props.c +++ b/src/core/window-props.c @@ -489,7 +489,7 @@ set_title_text (MetaWindow *window, g_free (*target); - if (!title) + if (!title || g_utf8_strlen (title, 2) < 1) *target = g_strdup (""); else if (g_utf8_strlen (title, MAX_TITLE_LENGTH + 1) > MAX_TITLE_LENGTH) { |