summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-07 13:10:25 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-07 13:10:25 +0300
commit80c86e2af4d83bd41557d1e7c10d48cda51e74ac (patch)
tree1c2022bda2ed62340100297015d25226ee4bb8fb /src/gui/equipmentwindow.cpp
parent5418946d4533b6022d5e33ff740b8cefcff5be97 (diff)
downloadmanaplus-80c86e2af4d83bd41557d1e7c10d48cda51e74ac.tar.gz
manaplus-80c86e2af4d83bd41557d1e7c10d48cda51e74ac.tar.bz2
manaplus-80c86e2af4d83bd41557d1e7c10d48cda51e74ac.tar.xz
manaplus-80c86e2af4d83bd41557d1e7c10d48cda51e74ac.zip
improve equipmentwindow.
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r--src/gui/equipmentwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index a18ec0aa4..802a08559 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -401,7 +401,7 @@ void EquipmentWindow::resetBeing(const Being *const being)
void EquipmentWindow::fillBoxes()
{
- XML::Document *doc = new XML::Document("equipmentwindow.xml");
+ XML::Document *const doc = new XML::Document("equipmentwindow.xml");
const XmlNodePtr root = doc->rootNode();
if (!root)
{