summaryrefslogtreecommitdiff
path: root/library/modules
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-09-17 12:47:18 +0400
committerAlexander Gavrilov2012-09-17 12:47:18 +0400
commitc1e20c6f0565007c47cce9aaa06199a061dac20e (patch)
tree1c783992a9475299a06c7043940412b4fd57cd47 /library/modules
parent58fda716e6c1feee85ce7fb15d913c87444c3feb (diff)
downloaddfhack-c1e20c6f0565007c47cce9aaa06199a061dac20e.tar.gz
dfhack-c1e20c6f0565007c47cce9aaa06199a061dac20e.tar.bz2
dfhack-c1e20c6f0565007c47cce9aaa06199a061dac20e.tar.xz
Follow changes to structures.
Diffstat (limited to 'library/modules')
-rw-r--r--library/modules/Gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/modules/Gui.cpp b/library/modules/Gui.cpp
index 91df14ea..b0cfda67 100644
--- a/library/modules/Gui.cpp
+++ b/library/modules/Gui.cpp
@@ -54,7 +54,7 @@ using namespace DFHack;
#include "df/viewscreen_joblistst.h"
#include "df/viewscreen_unitlistst.h"
#include "df/viewscreen_itemst.h"
-#include "df/viewscreen_layerst.h"
+#include "df/viewscreen_layer.h"
#include "df/viewscreen_layer_workshop_profilest.h"
#include "df/viewscreen_layer_noblelistst.h"
#include "df/viewscreen_layer_overall_healthst.h"
@@ -95,7 +95,7 @@ using df::global::selection_rect;
using df::global::ui_menu_width;
using df::global::ui_area_map_width;
-static df::layer_object_listst *getLayerList(df::viewscreen_layerst *layer, int idx)
+static df::layer_object_listst *getLayerList(df::viewscreen_layer *layer, int idx)
{
return virtual_cast<df::layer_object_listst>(vector_get(layer->layer_objects,idx));
}