summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 19:22:29 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 19:22:29 +0300
commit04ac16fc83719870bdad57eff409dc5db9502fe0 (patch)
treeefca6bfb2f528bf20df15fce1455d9eb0c9b708d /src/gui/windowmenu.cpp
parentfc0c65bbf1b297431f77e1a91dcdb528e38ff0fb (diff)
downloadmv-04ac16fc83719870bdad57eff409dc5db9502fe0.tar.gz
mv-04ac16fc83719870bdad57eff409dc5db9502fe0.tar.bz2
mv-04ac16fc83719870bdad57eff409dc5db9502fe0.tar.xz
mv-04ac16fc83719870bdad57eff409dc5db9502fe0.zip
add restrict into windowmenu.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 332843a86..b69c624fa 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -231,7 +231,7 @@ void WindowMenu::action(const gcn::ActionEvent &event)
void WindowMenu::addButton(const char *const text,
const std::string &description,
- int &x, int &h, const int key,
+ int &restrict x, int &restrict h, const int key,
const bool visible)
{
Button *const btn = new Button(this, gettext(text), text, this);