Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41490 - /branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc
  • From: gs@xxxxxxxxxxxxxxxx
  • Date: Fri, 19 Oct 2007 16:09:47 -0000
  • Message-id: <20071019160947.59CBF266BC@xxxxxxxxxxxxxxxx>
Author: gs
Date: Fri Oct 19 18:09:47 2007
New Revision: 41490

URL: http://svn.opensuse.org/viewcvs/yast?rev=41490&view=rev
Log:
remove logging

Modified:
    branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc

Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc?rev=41490&r1=41489&r2=41490&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc Fri Oct 19 18:09:47 2007
@@ -73,7 +73,7 @@
   NCursesEvent ret;
   switch ( ch ) {
   case KEY_RIGHT:
-      if ( menu->findItem(getCurrentItem()+1)->hasChildren() )
+      if ( menu->findItem(getCurrentItem()+1 )->hasChildren() )
        ret = NCursesEvent::button;
     break;
   case KEY_LEFT:
@@ -103,7 +103,6 @@
                                                          : -1;
 
   YMenuItem * item = menu->findItem( selection + 1 );
-  NCMIL << "Item: " << item->label() << endl;
   
   if ( !item )
       return again;

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

< Previous Next >
This Thread
  • No further messages