Use provisional uri if page could not be loaded (#224).
authorDaniel Carl <danielcarl@gmx.de>
Thu, 16 Jul 2015 20:40:06 +0000 (22:40 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Thu, 16 Jul 2015 20:40:06 +0000 (22:40 +0200)
commit203c86e807b9494e839bef3816003b1a5de32003
tree84dd4bb0d7b0714e7171ac0e23842e8c2e3e1123
parent1a8f7e520fbd3eee7e0f4c25f75bf02ff3c58724
Use provisional uri if page could not be loaded (#224).

In case an uri could not be loaded the uri of the webview is still the
previous one. That means the url shown in the url bar is not the user
requested and the 'O' command would also use the wrong url.
To fix this the provisional uri is used for the url bar as well as for the
autocmd call if the load of the uri failed.
src/main.c