diff --git a/tests/testextendedlayout.c b/tests/testextendedlayout.c index 497ccafb82..b734fabdc2 100644 --- a/tests/testextendedlayout.c +++ b/tests/testextendedlayout.c @@ -63,7 +63,7 @@ main (int argc, for (x = 0; x < G_N_ELEMENTS (groups); ++x) { - gchar *text = g_strdup_printf ("Label #%.0f.%d", pow(10, y), x + 1); + gchar *text = g_strdup_printf ("Label #%.0f.%.0f", pow(10, y), pow(10,x)); GtkWidget *label = gtk_label_new (text); g_free (text);