Author: sh-sh-sh Date: Mon Apr 7 16:33:02 2008 New Revision: 46192 URL: http://svn.opensuse.org/viewcvs/yast?rev=46192&view=rev Log: always use default in y2base case Modified: trunk/ncurses/src/YNCursesUI.cc Modified: trunk/ncurses/src/YNCursesUI.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/YNCursesUI.cc?rev=46192&r1=46191&r2=46192&view=diff ============================================================================== --- trunk/ncurses/src/YNCursesUI.cc (original) +++ trunk/ncurses/src/YNCursesUI.cc Mon Apr 7 16:33:02 2008 @@ -276,6 +276,8 @@ if ( progName == "y2base" ) { + progName = "YaST2"; + // Special case for YaST2: argv[1] is the module name - // this is what we want to display in the window title // @@ -283,7 +285,7 @@ // (e.g. 'y2base' 'lan' 'ncurses') -> we need 'lan' if ( cmdline.size() > 1 ) - progName = string( "YaST2 - " ) + cmdline[1]; + progName += " - " + cmdline[1]; } if ( progName.find( "lt-" ) == 0 ) // progName starts with "lt-" -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org