Author: aschnell Date: Wed Apr 14 10:54:24 2010 New Revision: 61694 URL: http://svn.opensuse.org/viewcvs/yast?rev=61694&view=rev Log: - fixed alignment in Table with multi-selection (bnc #596328) Modified: trunk/ncurses/VERSION trunk/ncurses/package/yast2-ncurses.changes trunk/ncurses/src/NCTable.cc Modified: trunk/ncurses/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/VERSION?rev=61694&r1=61693&r2=61694&view=diff ============================================================================== --- trunk/ncurses/VERSION (original) +++ trunk/ncurses/VERSION Wed Apr 14 10:54:24 2010 @@ -1 +1 @@ -2.19.2 +2.19.3 Modified: trunk/ncurses/package/yast2-ncurses.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/package/yast2-ncurses.changes?rev=61694&r1=61693&r2=61694&view=diff ============================================================================== --- trunk/ncurses/package/yast2-ncurses.changes (original) +++ trunk/ncurses/package/yast2-ncurses.changes Wed Apr 14 10:54:24 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Apr 14 10:49:16 CEST 2010 - aschnell@suse.de + +- fixed alignment in Table with multi-selection (bnc #596328) +- V 2.19.3 + +------------------------------------------------------------------- Mon Jan 11 19:31:20 CET 2010 - kmachalkova@suse.cz - Improved algorithm for double '&&' escaping (this one hopefully @@ -16,7 +22,7 @@ - Allow escaping '&' characters in string with hotkey support - convert 'foo&&bar' to 'foo&bar' (bnc#559226) --V 2.19.0 +- V 2.19.0 ------------------------------------------------------------------- Thu May 28 11:28:12 CEST 2009 - gs@suse.de Modified: trunk/ncurses/src/NCTable.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCTable.cc?rev=61694&r1=61693&r2=61694&view=diff ============================================================================== --- trunk/ncurses/src/NCTable.cc (original) +++ trunk/ncurses/src/NCTable.cc Wed Apr 14 10:54:24 2010 @@ -41,7 +41,7 @@ { if ( hasColumn( col ) ) { - // set aligmant first + // set alignment first setAlignment( col, alignment( col ) ); // and then append header _header[ col ] += NCstring( tableHeader->header( col ) ) ; @@ -51,13 +51,13 @@ else { _header.assign( tableHeader->columns()+1, NCstring( "" ) ); - + for ( int col = 1; col <= tableHeader->columns(); col++ ) { if ( hasColumn( col-1 ) ) { - // set aligmant first - setAlignment( col, alignment( col ) ); + // set alignment first + setAlignment( col, alignment( col-1 ) ); // and then append header _header[ col ] += NCstring( tableHeader->header( col-1 ) ) ; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org