imcontext: Improve an error message
authorMatthias Clasen <mclasen@redhat.com>
Mon, 1 Feb 2021 05:44:08 +0000 (00:44 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 1 Feb 2021 05:44:41 +0000 (00:44 -0500)
This error message was misleading, as pointed out
by Ralf Jung.

gtk/gtkcomposetable.c

index b2914807decf95da089dc51522af9e8922932547..710367b9f1f595bff77c98cee7b5d7f842758b77 100644 (file)
@@ -191,7 +191,7 @@ parse_compose_sequence (GtkComposeData *compose_data,
   g_strfreev (words);
   if (0 == n || n >= GTK_MAX_COMPOSE_LEN)
     {
-      g_warning ("The max number of sequences is %d: %s",
+      g_warning ("The max length of compose sequences is %d: %s",
                  GTK_MAX_COMPOSE_LEN, line);
       return FALSE;
     }