Fixed wrong mode if no hints where found.
authorDaniel Carl <danielcarl@gmx.de>
Sat, 23 Mar 2013 22:24:24 +0000 (23:24 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 23 Mar 2013 22:24:24 +0000 (23:24 +0100)
commite8054292c7aa6003e42ed35c88dabbd6bb079d31
tree11dfa77fd1bf5ee5bfc72ff753debe927eabc395
parent3ee861e796045472de58f42fd4f333abdf6c63af
Fixed wrong mode if no hints where found.

If hinting was started, but no hint was found, the input box was still
activated. Now we set the hint mode immediately in the hints_create function.
In the previous implementation the hinting mode was set in the command
function that didn't know if a hint where found or not and switched to hinting
mode also if no hint mas found.
src/command.c
src/hints.c
src/main.c