[yast-commit] r41139 - /branches/tmp/sh/mod-ui/ncurses/src/ncursesw.cc
Author: gs Date: Thu Sep 27 15:29:27 2007 New Revision: 41139 URL: http://svn.opensuse.org/viewcvs/yast?rev=41139&view=rev Log: debug added Modified: branches/tmp/sh/mod-ui/ncurses/src/ncursesw.cc Modified: branches/tmp/sh/mod-ui/ncurses/src/ncursesw.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/ncursesw.cc?rev=41139&r1=41138&r2=41139&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/ncursesw.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/ncursesw.cc Thu Sep 27 15:29:27 2007 @@ -277,6 +277,8 @@ if ( cols + begin_x > NCursesWindow::cols() ) cols = NCursesWindow::cols() - begin_x; + WIDDBG << "Lines: " << lines << " Cols: " << cols << " y: " << begin_y << " x: " << begin_x << endl; + w = ::newwin(lines, cols, begin_y, begin_x); if (w == 0) { err_handler("Cannot construct window"); @@ -328,7 +330,7 @@ // Friendly enough, this also works for pads. w = ::derwin(win.w, l, c, begin_y, begin_x); if (w == 0) { - //WIDERR << "Throw " << wpos(begin_y, begin_x) << wsze(l, c) << endl; + WIDERR << "Throw " << wpos(begin_y, begin_x) << wsze(l, c) << endl; err_handler("Cannot construct subwindow"); } //WIDMIL << "created " << wpos(begin_y, begin_x) << wsze(l, c) << endl; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
gs@svn.opensuse.org