bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in mvwprintw


From: Mike Castle
Subject: bug in mvwprintw
Date: Sat, 13 Oct 2001 20:09:40 -0700
User-agent: Mutt/1.3.18i

It may be worth while to check of other similar errors.

No regression testing for this function?

mrc

diff -ru ncurses-5.2-20011013.orig/ncurses/base/lib_printw.c 
ncurses-5.2-20011013/ncurses/base/lib_printw.c
--- ncurses-5.2-20011013.orig/ncurses/base/lib_printw.c Sat Oct 13 19:59:38 2001
+++ ncurses-5.2-20011013/ncurses/base/lib_printw.c      Sat Oct 13 20:08:15 2001
@@ -79,7 +79,7 @@
 
     T((T_CALLED("mvprintw(%d,%d,%s,...)"), y, x, _nc_visbuf(fmt)));
 
-    if ((code = move(y, x)) != ERR) {
+    if ((code = move(win, y, x)) != ERR) {
        va_start(argp, fmt);
        code = vwprintw(stdscr, fmt, argp);
        va_end(argp);

-- 
     Mike Castle      address@hidden      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]