summaryrefslogtreecommitdiff
path: root/src/gui/window.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-18 14:20:14 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-18 14:20:14 -0600
commitf64903f3f139ba83e94c6260c39f88b8d31b793b (patch)
tree39ab7a883bf8e3fb6e920ab47659086c96a6d139 /src/gui/window.cpp
parent203e995140e710475e1d8a3b512c8fe16a1acd96 (diff)
downloadmana-f64903f3f139ba83e94c6260c39f88b8d31b793b.tar.gz
mana-f64903f3f139ba83e94c6260c39f88b8d31b793b.tar.bz2
mana-f64903f3f139ba83e94c6260c39f88b8d31b793b.tar.xz
mana-f64903f3f139ba83e94c6260c39f88b8d31b793b.zip
Fix up the NPC interraction widnows a bit
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r--src/gui/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp
index be63ff21..4bc0e4d0 100644
--- a/src/gui/window.cpp
+++ b/src/gui/window.cpp
@@ -120,7 +120,7 @@ Window::~Window()
const std::string &name = mWindowName;
// Saving X, Y and Width and Height for resizables in the config
- if (!name.empty())
+ if (!name.empty() && name != "window")
{
config.setValue(name + "WinX", getX());
config.setValue(name + "WinY", getY());