projects
/
wordblah.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enhanced word entry and grid movement in puzzle player
[wordblah.git]
/
wordblox.c
diff --git
a/wordblox.c
b/wordblox.c
index
8ab9891
..
0cbb804
100644
(file)
--- a/
wordblox.c
+++ b/
wordblox.c
@@
-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;