diff options
author | Ryan Kavanagh <rak@debian.org> | 2013-03-07 19:33:52 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2013-03-07 19:33:52 -0500 |
commit | 3ba11606cc8fe7809d479a2145bde0ddd3f4f3a6 (patch) | |
tree | a70bc04a4bda82a9bfd2e3ac70bd8e00cd55d4c4 /nmm.c | |
parent | Wrap prototypes in __BEGIN_DECLS, as with best practice (diff) |
Fix broken help key
Diffstat (limited to 'nmm.c')
-rw-r--r-- | nmm.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |