@@ -524,7 +524,6 @@ static void GameDifficultyWndProc(Window
w->SetWidgetDisabledState(GDW_HIGHSCORE, _game_mode == GM_EDITOR || _networking); // highscore chart in multiplayer
w->SetWidgetDisabledState(GDW_ACCEPT, _networking && !_network_server); // Save-button in multiplayer (and if client)
w->LowerWidget(GDW_LVL_EASY + _opt_mod_temp.diff_level);
break;
case WE_PAINT: {
@@ -932,8 +931,7 @@ static void PatchesSelectionWndProc(Wind
DrawString(30, y, (sdb->str) + disabled, TC_FROMSTRING);
y += 11;
}
} break;
case WE_CLICK:
switch (e->we.click.widget) {
@@ -1038,7 +1036,7 @@ static void PatchesSelectionWndProc(Wind
SetWindowDirty(w);
case WE_ON_EDIT_TEXT: {
case WE_ON_EDIT_TEXT:
if (e->we.edittext.str != NULL) {
const PatchEntry *pe = &_patches_page[WP(w, def_d).data_1].entries[WP(w,def_d).data_3];
const SettingDesc *sd = pe->setting;
@@ -1051,7 +1049,6 @@ static void PatchesSelectionWndProc(Wind
case WE_DESTROY:
DeleteWindowById(WC_QUERY_STRING, 0);