Author: gs Date: Thu Oct 18 12:12:55 2007 New Revision: 41458 URL: http://svn.opensuse.org/viewcvs/yast?rev=41458&view=rev Log: add YUI_CHECK_NEW Modified: branches/tmp/sh/mod-ui/ncurses/src/NCIntField.cc Modified: branches/tmp/sh/mod-ui/ncurses/src/NCIntField.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCIntField.cc?rev=41458&r1=41457&r2=41458&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCIntField.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCIntField.cc Thu Oct 18 12:12:55 2007 @@ -406,7 +406,8 @@ string text( 1, (char )first); NCPopupTextEntry * dialog = new NCPopupTextEntry( at, label, text, vlen, 0, NCInputField::NUMBER ); - + YUI_CHECK_NEW( dialog ); + while ( dialog->post() != -1 ) { int nval = atoi( dialog->value().c_str() ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org