From 8b5421290027ab67cba25225111e3561ddd7af07 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 17 May 2008 12:48:06 +0000 Subject: (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. --- src/depot_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/depot_gui.cpp') diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index 9ec0f0c9f..842d18203 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -365,7 +365,7 @@ struct DepotWindow : Window { SetDParam(0, depot->town_index); } - DrawWindowWidgets(w); + w->DrawWidgets(); num = this->vscroll.pos * boxes_in_each_row; maxval = min(this->engine_count, num + (rows_in_display * boxes_in_each_row)); -- cgit v1.2.3-54-g00ecf