]> Sergey Matveev's repositories - nnn.git/commitdiff
Use wgetnstr() instead of getnstr() because IRIX lacks the latter
authorsin <sin@2f30.org>
Fri, 20 Nov 2015 14:04:01 +0000 (14:04 +0000)
committersin <sin@2f30.org>
Fri, 20 Nov 2015 14:04:01 +0000 (14:04 +0000)
noice.c

diff --git a/noice.c b/noice.c
index fa712ffaf0f2c47740324457d5c2529b54277fd6..f44f8f908f7dad1f6c00b264294842a0231311f8 100644 (file)
--- a/noice.c
+++ b/noice.c
@@ -332,7 +332,7 @@ readln(void)
        echo();
        curs_set(TRUE);
        memset(ln, 0, sizeof(ln));
-       getnstr(ln, sizeof(ln) - 1);
+       wgetnstr(stdscr, ln, sizeof(ln) - 1);
        noecho();
        curs_set(FALSE);
        return strlen(ln) ? strdup(ln) : NULL;