diff options
author | rubidium <rubidium@openttd.org> | 2008-05-06 21:28:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-06 21:28:30 +0000 |
commit | 8796331d83e09dda2ac4642f9215845cc2dd321c (patch) | |
tree | 248a2b8909d0045aad2724ae25b5f9064e597dd1 /src/genworld_gui.cpp | |
parent | 7b6ce158fe49d95f4e732ceb8372e2b06fabc559 (diff) | |
download | openttd-8796331d83e09dda2ac4642f9215845cc2dd321c.tar.xz |
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r-- | src/genworld_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 0d5f00704..59781f73b 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -342,7 +342,7 @@ static void GenerateLandscapeWndProc(Window *w, WindowEvent *e) case WE_CLICK: switch (e->we.click.widget) { - case 0: DeleteWindow(w); break; + case 0: delete w; break; case GLAND_TEMPERATE: case GLAND_ARCTIC: |