Work on puzzle grid in player
[wordblah.git] / wordblox.c
index 8ab9891..0cbb804 100644 (file)
@@ -107,6 +107,8 @@ void do_set_clue_word (Puzzle *p, enum ORIENTATION orient)
        index = get_num ();
        printf (INPUT_CLUE);
        fgets (clue, MAX_CLUE_LENGTH, stdin);
+       if (strlen (clue) == 1)
+               return;
        char* cl = strtok (clue, "\n");
        
        bool res;