Fixed none cleared inputbox on mode change.
authorDaniel Carl <danielcarl@gmx.de>
Sat, 27 Apr 2013 17:29:06 +0000 (19:29 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 27 Apr 2013 17:29:06 +0000 (19:29 +0200)
commit6c6d07ef68a9a8207dcc50a08cf2a6732b0408db
tree9dc174cf1b0086b8d7e9a33090e72fa101a3b6c2
parent2bf1f59c07642af9689b8b4ffa0debefd6b07a0e
Fixed none cleared inputbox on mode change.

If the mode where not really change but the function vb_set_mode() called with
flag clear input, the input was not cleared, because we skipped the part of
logic where the inputbox will be cleared.
src/main.c