Fixed unset of current url on stop loading (#224).
authorDaniel Carl <danielcarl@gmx.de>
Thu, 16 Jul 2015 21:13:50 +0000 (23:13 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Thu, 16 Jul 2015 21:14:42 +0000 (23:14 +0200)
commit4b6977feeac0358c92e046ddba9d2c504523ad82
treee802f66b589d57061aadc3e8f752b94eb0bce678
parent203c86e807b9494e839bef3816003b1a5de32003
Fixed unset of current url on stop loading (#224).

If and url is loaded and the real url is already available in the webview the
provisional data sour seems to be not available anymore. This caused '(null)'
be shown in url bar in case a page loading was aborted by CTRL-C.
To fix this the provisional data source is used to get the current url as long
as it exists, else the webview's url is taken.
src/main.c