From 3fad1c07868a769931492f253450793386767d75 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Sun, 9 Sep 2012 20:43:21 +0200 Subject: [PATCH] fixed a crash --- apps/openmw/mwgui/spellbuyingwindow.cpp | 2 +- files/mygui/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwgui/spellbuyingwindow.cpp b/apps/openmw/mwgui/spellbuyingwindow.cpp index af6bb182df..5750bb8692 100644 --- a/apps/openmw/mwgui/spellbuyingwindow.cpp +++ b/apps/openmw/mwgui/spellbuyingwindow.cpp @@ -21,7 +21,7 @@ namespace MWGui const int SpellBuyingWindow::sLineHeight = 18; SpellBuyingWindow::SpellBuyingWindow(MWBase::WindowManager& parWindowManager) : - WindowBase("openmw_spells_window.layout", parWindowManager) + WindowBase("openmw_spell_buying_window.layout", parWindowManager) , ContainerBase(NULL) // no drag&drop , mSpellsWidgetMap() , mCurrentY(0) diff --git a/files/mygui/CMakeLists.txt b/files/mygui/CMakeLists.txt index 4a215c50f5..82fb64c76d 100644 --- a/files/mygui/CMakeLists.txt +++ b/files/mygui/CMakeLists.txt @@ -70,6 +70,7 @@ set(MYGUI_FILES openmw_quickkeys_menu_assign.layout openmw_itemselection_dialog.layout openmw_magicselection_dialog.layout + openmw_spell_buying_window.layout smallbars.png VeraMono.ttf markers.png