Moved mode switching to command also if command not found.
authorDaniel Carl <danielcarl@gmx.de>
Sat, 23 Feb 2013 10:41:27 +0000 (11:41 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 23 Feb 2013 10:41:27 +0000 (11:41 +0100)
commit9d0f5699e3c0985131ef4967d4c83d45646662c9
treed8df81938ea831a687cd0bcb9729147fc28a4ff4
parent896b84b353a4facf125a1eadb95953a98543381d
Moved mode switching to command also if command not found.

This make the mode switching more unique. If command_run is called, this will
switch to the right mode, independent if the command exists or could be run or
not.
src/command.c
src/main.c