diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-18 20:53:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-18 20:53:02 +0300 |
commit | e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f (patch) | |
tree | d29207d095a070988af1e1d0866b1f5d46de1fe9 /src/commands.cpp | |
parent | 261edddd92ec02c1d278213e730aa30a1fea71d0 (diff) | |
download | manaplus-e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f.tar.gz manaplus-e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f.tar.bz2 manaplus-e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f.tar.xz manaplus-e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f.zip |
fix compilation warnings.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 857212aa3..da771ede4 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1144,7 +1144,7 @@ impHandler1(execute) execFile(name, name, params, ""); } -impHandler1(enableHighlight) +impHandler2(enableHighlight) { if (tab) { @@ -1154,7 +1154,7 @@ impHandler1(enableHighlight) } } -impHandler1(disableHighlight) +impHandler2(disableHighlight) { if (tab) { @@ -1164,28 +1164,28 @@ impHandler1(disableHighlight) } } -impHandler1(dontRemoveName) +impHandler2(dontRemoveName) { tab->setRemoveNames(false); if (chatWindow) chatWindow->saveState(); } -impHandler1(removeName) +impHandler2(removeName) { tab->setRemoveNames(true); if (chatWindow) chatWindow->saveState(); } -impHandler1(disableAway) +impHandler2(disableAway) { tab->setNoAway(true); if (chatWindow) chatWindow->saveState(); } -impHandler1(enableAway) +impHandler2(enableAway) { tab->setNoAway(false); if (chatWindow) |