summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-08 17:54:56 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-08 17:54:56 +0300
commit0379d83c5ffdbc182351533c0d8da8f1a811f86d (patch)
tree2bed28e9f62bf0b187f63d751ce2d5afb7915361
parentc5a64309d9d792fc4ee3218f4db902e8a846a18a (diff)
downloadplus-0379d83c5ffdbc182351533c0d8da8f1a811f86d.tar.gz
plus-0379d83c5ffdbc182351533c0d8da8f1a811f86d.tar.bz2
plus-0379d83c5ffdbc182351533c0d8da8f1a811f86d.tar.xz
plus-0379d83c5ffdbc182351533c0d8da8f1a811f86d.zip
Fix navigation commands.
-rw-r--r--src/commandhandler.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 37ee853b0..6876f4463 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -685,9 +685,6 @@ void CommandHandler::handleNavigate(const std::string &args,
bool CommandHandler::parse2Int(const std::string &args, int &x, int &y)
{
- if (!x || !y)
- return false;
-
bool isValid = false;
const size_t pos = args.find(" ");
if (pos != std::string::npos)