aboutsummaryrefslogtreecommitdiff
path: root/nmm.c
diff options
context:
space:
mode:
Diffstat (limited to 'nmm.c')
-rw-r--r--nmm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nmm.c b/nmm.c
index 9144977..508a66a 100644
--- a/nmm.c
+++ b/nmm.c
@@ -1037,15 +1037,15 @@ getinput(scrgame *sg, char *inp, const int length)
mvwaddch(sg->score_w, promptrow, promptcol, ' ');
l--;
}
- } else if (ch == '?' && l == 0) {
- printinstrs(sg);
- mvwaddch(sg->score_w, promptrow, promptcol, ' ');
- l--;
} else {
inp[l] = (char) ch;
mvwaddch(sg->score_w, promptrow, promptcol + l, ch);
}
wrefresh(sg->score_w);
+ } else if (ch == '?' && l == 0) {
+ printinstrs(sg);
+ mvwaddch(sg->score_w, promptrow, promptcol, ' ');
+ l--;
} else if (ch == '\n') {
inp[l] = '\0';
break;