Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4029 in orxonox.OLD for orxonox/trunk/src/lib/gui


Ignore:
Timestamp:
May 3, 2005, 10:53:52 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk/gui: little error in non-gtk-mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/gui/gui/orxonox_gui_gtk.cc

    r4026 r4029  
    7979     
    8080      PRINT(0)("\nDo you want change any of the above values now? [Yn] ");
    81       cin >>boolAns ;
     81      cin >> boolAns ;
    8282      if (boolAns =='n' || boolAns=='N')
    8383        break;
     
    100100            }
    101101          else
    102             PRINT(0)("\nChoose a smaler Number please: [1-%d] ", groupCount);
     102            PRINT(0)("\nChoose a smaller Number please: [1-%d] ", groupCount);
    103103        }
    104104      PRINT(0)("\n\nGroup: [%s]\n\n", group->groupName);
     
    358358void Widget::listGroups(Widget* widget, void* data)
    359359{
     360  int* count = (int*)data;
    360361  if (widget->isOption < 0 && static_cast<Packer*>(widget)->groupName)
    361     PRINT(0)("%d: [%s]\n", *(int*)data, static_cast<Packer*>(widget)->groupName);
     362    PRINT(0)("%d: [%s]\n", ++*count, static_cast<Packer*>(widget)->groupName);
    362363}
    363364
Note: See TracChangeset for help on using the changeset viewer.