Add a check for lack of memory
[platform/core/uifw/at-spi2-atk.git] / test / keysynth-test.c
index d77eefa..22adf46 100644 (file)
@@ -42,11 +42,11 @@ static TextTest text[] = {
        {65, NULL, SPI_KEY_PRESSRELEASE},
        {64, NULL, SPI_KEY_SYM},
        {0,  "--hello!", SPI_KEY_STRING},
-       {0, "StudlyCaps", SPI_KEY_STRING}
+       {0, "StudlyCaps!", SPI_KEY_STRING}
 };
 
 static void
-test_key_synthesis ()
+test_key_synthesis (void)
 {
        int i;
        for (i = 0; i < G_N_ELEMENTS (text); ++i) {