Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41659 - /branches/tmp/sh/mod-ui/ncurses/src/NCTable.cc
  • From: gs@xxxxxxxxxxxxxxxx
  • Date: Wed, 31 Oct 2007 09:41:11 -0000
  • Message-id: <20071031094111.BAF7217372@xxxxxxxxxxxxxxxx>
Author: gs
Date: Wed Oct 31 10:41:11 2007
New Revision: 41659

URL: http://svn.opensuse.org/viewcvs/yast?rev=41659&view=rev
Log:
check keepSorting() correctly in getCurrentItem()

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=41659&r1=41658&r2=41659&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCTable.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCTable.cc Wed Oct 31 10:41:11 2007
@@ -177,7 +177,6 @@
}

_header[ col ] = NCstring( s );
- //YTable::setAlignment( col, al );
}

///////////////////////////////////////////////////////////////////
@@ -255,7 +254,7 @@
{
if ( !myPad()->Lines() )
return -1;
- return ( ! keepSorting() ) ? myPad()->GetLine( myPad()->CurPos().L
)->getIndex ()
+ return keepSorting() ? myPad()->GetLine( myPad()->CurPos().L )->getIndex ()
: myPad()->CurPos().L;

}

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages