(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.

This commit is contained in:
rubidium
2008-05-06 21:28:30 +00:00
parent 7b6ce158fe
commit 8796331d83
21 changed files with 86 additions and 86 deletions

View File

@@ -767,7 +767,7 @@ static void BuildRoadDepotWndProc(Window *w, WindowEvent *e)
break;
case WE_MOUSELOOP:
if (WP(w, def_d).close) DeleteWindow(w);
if (WP(w, def_d).close) delete w;
break;
case WE_DESTROY:
@@ -925,7 +925,7 @@ static void RoadStationPickerWndProc(Window *w, WindowEvent *e)
case WE_MOUSELOOP:
if (WP(w, def_d).close) {
DeleteWindow(w);
delete w;
return;
}