From 23fc96c3e8c252edbf2e7c22cefab633a0474410 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 8 May 2008 11:50:34 +0000 Subject: (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. --- src/genworld_gui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/genworld_gui.cpp') diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 01fc43d31..da8b450f8 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -577,7 +577,7 @@ static void _ShowGenerateLandscape(glwp_modes mode) if (!GetHeightmapDimensions(_file_to_saveload.name, &x, &y)) return; } - Window *w = AllocateWindowDescFront((mode == GLWP_HEIGHTMAP) ? &_heightmap_load_desc : &_generate_landscape_desc, mode); + Window *w = AllocateWindowDescFront((mode == GLWP_HEIGHTMAP) ? &_heightmap_load_desc : &_generate_landscape_desc, mode); if (w == NULL) return; @@ -802,7 +802,7 @@ static const WindowDesc _create_scenario_desc = { void ShowCreateScenario() { DeleteWindowByClass(WC_GENERATE_LANDSCAPE); - AllocateWindowDescFront(&_create_scenario_desc, GLWP_SCENARIO); + AllocateWindowDescFront(&_create_scenario_desc, GLWP_SCENARIO); } @@ -896,7 +896,7 @@ void PrepareGenerateWorldProgress() */ void ShowGenerateWorldProgress() { - AllocateWindowDescFront(&_show_terrain_progress_desc, 0); + AllocateWindowDescFront(&_show_terrain_progress_desc, 0); } static void _SetGeneratingWorldProgress(gwp_class cls, uint progress, uint total) -- cgit v1.2.3-54-g00ecf