[yast-commit] r48519 - /trunk/ncurses/src/NCDumbTab.cc
Author: gs Date: Wed Jun 25 10:08:07 2008 New Revision: 48519 URL: http://svn.opensuse.org/viewcvs/yast?rev=48519&view=rev Log: correct positioning of labels Modified: trunk/ncurses/src/NCDumbTab.cc Modified: trunk/ncurses/src/NCDumbTab.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCDumbTab.cc?rev=48519&r1=48518&r2=48519&view=diff ============================================================================== --- trunk/ncurses/src/NCDumbTab.cc (original) +++ trunk/ncurses/src/NCDumbTab.cc Wed Jun 25 10:08:07 2008 @@ -173,12 +173,14 @@ wpos( 0, labelPos ), wsze( 1, winWidth ), NC::TOPLEFT, false ); + + labelPos += (*listIt).width() + 2; + ++listIt; ++i; if ( listIt != tabList.end() ) { - labelPos += (*listIt).width() + 2; winWidth -= (*listIt).width() -1; } }; -- 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