Changeset 4316 in orxonox.OLD for orxonox/branches/physics/src/lib/gui/gui/gui_gtk.cc
- Timestamp:
- May 27, 2005, 12:34:09 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/physics/src/lib/gui/gui/gui_gtk.cc
r4178 r4316 47 47 bool initGUI(int argc, char *argv[]) 48 48 { 49 executable = new char[strlen(argv[0])+1]; 50 strcpy(executable, argv[0]); 49 if (argv) 50 { 51 executable = new char[strlen(argv[0])+1]; 52 strcpy(executable, argv[0]); 53 } 54 else 55 executable = NULL; 51 56 52 57 #ifdef HAVE_GTK2 … … 1080 1085 { 1081 1086 static_cast<Option*>(option)->changeOption(); 1082 flags->setTextFromFlags(Window::mainWindow); //// must be different !!! 1087 #ifdef BUILD_ORXONOX 1088 flags->setTextFromFlags(Window::mainWindow); 1089 #endif 1083 1090 } 1084 1091 #endif /* HAVE_GTK2 */
Note: See TracChangeset
for help on using the changeset viewer.