Previous 15994 Revisions Next

r7809 Thursday 15th April, 2010 at 12:28:26 UTC by Miodrag Milanović
[MESSUI] Fixed issue of MESSUI hanging after opening Configuration tab in Properties.
[src/mess/osd/winui]propertiesms.c

src/mess/osd/winui/propertiesms.c
r7808r7809
434434
435435         (void)ComboBox_InsertString(control, i, win_tstring_strdup(t_ramstring));
436436         (void)ComboBox_SetItemData(control, i, ram);
437         
438         global_free(t_ramstring);         
437439      }
438440      if (config->extra_options != NULL)
439441      {
r7808r7809
474476      // set the combo box
475477      (void)ComboBox_SetCurSel(control, current_index);
476478   }
479   if (cfg != NULL)
480   {
481      /* Free the structure */
482      machine_config_free(cfg);
483   }
477484   return TRUE;
478485}
479486

Previous 15994 Revisions Next


© 1998-2018 The MESS Team