Changeset 2605 in orxonox.OLD for orxonox/trunk/gui/orxonox_gui_exec.cc
- Timestamp:
- Oct 19, 2004, 10:39:44 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/gui/orxonox_gui_exec.cc
r2595 r2605 124 124 char Buffer[256]; 125 125 char* space2under; 126 sprintf (Buffer, "%s", static_cast<Option*>(widget)-> option_name);126 sprintf (Buffer, "%s", static_cast<Option*>(widget)->label); 127 127 if (strchr (Buffer, '_')) 128 128 cout << "Warning Optionname" << Buffer << " is not Valid for Saving, because it includes an underscore" << endl; … … 189 189 { 190 190 if (widget->is_option >= 1) 191 if (!strcmp (static_cast<Option*>(widget)-> option_name, variableName))191 if (!strcmp (static_cast<Option*>(widget)->label, variableName)) 192 192 static_cast<Option*>(widget)->value = variableValue; 193 193
Note: See TracChangeset
for help on using the changeset viewer.