diff --git a/tgp-msg.c b/tgp-msg.c index c09915d..b4e387e 100644 --- a/tgp-msg.c +++ b/tgp-msg.c @@ -222,7 +222,7 @@ static int tgp_msg_send_split (struct tgl_state *TLS, const char *message, tgl_p if (end > size) { end = size; } - gchar *chunk = g_utf8_substringg (message, start, end); + gchar *chunk = g_utf8_substring (message, start, end); tgp_msg_send_schedule (TLS, chunk, to); start = end; }