From 3ba11606cc8fe7809d479a2145bde0ddd3f4f3a6 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Thu, 7 Mar 2013 19:33:52 -0500 Subject: Fix broken help key --- nmm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nmm.c') 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; -- cgit v1.2.3