summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-string.c b/src/core/wee-string.c
index 1fcb18716..971882f7c 100644
--- a/src/core/wee-string.c
+++ b/src/core/wee-string.c
@@ -134,7 +134,7 @@ string_cut (const char *string, int length, int count_suffix, int screen,
if (count_suffix)
{
if (screen)
- length -= utf8_strlen_screen (cut_suffix);
+ length -= gui_chat_strlen_screen (cut_suffix);
else
length -= utf8_strlen (cut_suffix);
if (length < 0)