diff options
author | Peter Wemm <peter@FreeBSD.org> | 1996-08-18 15:12:39 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1996-08-18 15:12:39 +0000 |
commit | 22a7b49cc42ea24e2c35825620cc22ffa11643c0 (patch) | |
tree | aaff41efe7a1ce30aa5d66a3f16ddcf7ebf07c77 /ftp/ncftp2 | |
parent | 67f198adf4d049d54dcd00f8a3cacc8d78678610 (diff) | |
download | ports-22a7b49cc42ea24e2c35825620cc22ffa11643c0.tar.gz ports-22a7b49cc42ea24e2c35825620cc22ffa11643c0.zip |
Notes
Diffstat (limited to 'ftp/ncftp2')
-rw-r--r-- | ftp/ncftp2/files/patch-ab | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ftp/ncftp2/files/patch-ab b/ftp/ncftp2/files/patch-ab new file mode 100644 index 000000000000..97726f007458 --- /dev/null +++ b/ftp/ncftp2/files/patch-ab @@ -0,0 +1,28 @@ +# +# This is to work around an apparent ncurses bug.. It's a slight optimisation +# too, I think. +# +--- Win.c.dist Wed Dec 6 13:38:47 1995 ++++ Win.c Sun Aug 18 23:08:11 1996 +@@ -1101,16 +1101,12 @@ + Exit(kExitWinFail2); + } + ++ werase(gPromptWin); + WAttr(gPromptWin, flags, 1); +- if (addTail) { +- mvwprintw(gPromptWin, 0,0, "%s%s", pr, kPromptTail); +- WAttr(gPromptWin, flags, 0); +- } else { +- mvwprintw(gPromptWin, 0,0, "%s", pr); +- WAttr(gPromptWin, flags, 0); +- if (flags & kReverse) +- wprintw(gPromptWin, " "); +- } ++ mvwprintw(gPromptWin, 0,0, "%s", pr); ++ if (addTail) ++ wprintw(gPromptWin, "%s", kPromptTail); ++ WAttr(gPromptWin, flags, 0); + wnoutrefresh(gPromptWin); + werase(gInputWin); + touchwin(gInputWin); |