Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1993 in orxonox.OLD for orxonox/branches/gui/guicc/orxonox_gui.cc


Ignore:
Timestamp:
Jun 20, 2004, 9:42:34 PM (21 years ago)
Author:
bensch
Message:

orxonox/branches/gui: removed segmentation fault created by not putting a NULL to Window::down

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/gui/guicc/orxonox_gui.cc

    r1983 r1993  
    146146   */
    147147  is_option = -1;
     148  next = NULL;
     149  down = NULL;
    148150  widget = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    149151  gtk_window_set_policy (GTK_WINDOW(widget), TRUE, TRUE, TRUE);
    150   next = NULL;
    151   down = NULL;
    152152}
    153153
     
    158158   */
    159159  is_option = -1;
     160  next = NULL;
     161  down = NULL;
    160162  widget = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    161163  gtk_window_set_policy (GTK_WINDOW (widget), TRUE, TRUE, TRUE);
Note: See TracChangeset for help on using the changeset viewer.