Fixed garbage file create on :quit (#22).
authorDaniel Carl <danielcarl@gmx.de>
Tue, 28 May 2013 09:24:14 +0000 (11:24 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Tue, 28 May 2013 09:24:14 +0000 (11:24 +0200)
commitc22966a3c997c8a250ca02f07f758298c41f6344
treeccf6adec94b366f88ccb828812afe76a932161c0
parent519c98f07c8ab733cc465bb633eb69c2b0b8f815
Fixed garbage file create on :quit (#22).

On 64Bit systems there was created a garbage file with content 'quit', if the
browser was closed by command :quit in inputbox. This happend because the quit
command was run first and freed the command history file, after that the last
command was tried to be saved in history.

This patch moved the save of command in history before the call of the
command, this sounds a little unusual, but I think this is ok for this case.
src/main.c