From f9796b01ffd61ab0df41d1d7ea2c48d47ccf997c Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Sun, 6 Nov 2016 21:49:00 +0000 Subject: [PATCH] Fix loading cached compose tables https://bugzilla.gnome.org/show_bug.cgi?id=773916 --- gtk/gtkcomposetable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcomposetable.c b/gtk/gtkcomposetable.c index 7b45dfbd7e..fcc171b184 100644 --- a/gtk/gtkcomposetable.c +++ b/gtk/gtkcomposetable.c @@ -697,7 +697,7 @@ gtk_compose_table_load_cache (const gchar *compose_file) retval = g_new0 (GtkComposeTable, 1); retval->data = gtk_compose_seqs; retval->max_seq_len = max_seq_len; - retval->n_seqs = length; + retval->n_seqs = n_seqs; retval->id = hash; g_free (contents);