Browse Source

Make room for null-terminator

master
sin 9 years ago
parent
commit
ea0cce7b63
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      noice.c

+ 1
- 1
noice.c View File

@@ -331,7 +331,7 @@ readln(void)

echo();
curs_set(TRUE);
getnstr(ln, sizeof(ln));
getnstr(ln, sizeof(ln) - 1);
noecho();
curs_set(FALSE);
return strdup(ln);


Loading…
Cancel
Save