summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui.cpp1
-rw-r--r--src/gui/item_amount.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 8d323fb8..cc338fa8 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -184,6 +184,7 @@ Gui::~Gui()
delete mGuiFont;
delete speechFont;
+ delete viewport;
delete mTop;
delete mImageLoader;
delete mHostImageLoader;
diff --git a/src/gui/item_amount.cpp b/src/gui/item_amount.cpp
index 3f8daddd..afc3ac44 100644
--- a/src/gui/item_amount.cpp
+++ b/src/gui/item_amount.cpp
@@ -18,7 +18,7 @@
* along with The Mana World; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id $
+ * $Id$
*/
#include "item_amount.h"
@@ -87,6 +87,7 @@ ItemAmountWindow::ItemAmountWindow(int usage, Window *parent, Item *item):
setContentSize(200, 80);
setLocationRelativeTo(getParentWindow());
+ setVisible(true);
}
void ItemAmountWindow::resetAmount()