Author: gs Date: Tue Oct 30 14:47:53 2007 New Revision: 41642 URL: http://svn.opensuse.org/viewcvs/yast?rev=41642&view=rev Log: call setAlignment in constructor Modified: branches/tmp/sh/mod-ui/ncurses/src/NCTable.cc Modified: branches/tmp/sh/mod-ui/ncurses/src/NCTable.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCTable.cc?rev=41642&r1=41641&r2=41642&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCTable.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCTable.cc Tue Oct 30 14:47:53 2007 @@ -50,6 +50,9 @@ { if ( hasColumn( col ) ) { + // set aligmant first + setAlignment( col, alignment( col ) ); + // and then append header _header[ col ] += NCstring( header( col ) ) ; } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org