aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-10-01 23:15:03 +0200
committerjcid <devnull@localhost>2008-10-01 23:15:03 +0200
commita7c42fb15950df0a772d096494ca5bcbf5752a9f (patch)
tree657bcfdac15a78d4aacd19d905439682692624f1 /src/html.cc
parent5f8bccacdedf8f972a9eb6f603cfe84bf3cbd557 (diff)
- Disallowed loading images when expecting is set.
- Added a cancel expect to the Stop button.
Diffstat (limited to 'src/html.cc')
-rw-r--r--src/html.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html.cc b/src/html.cc
index dfa51fdf..a9838aff 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -711,6 +711,8 @@ bool_t DilloHtml::unloadedImages()
*/
void DilloHtml::loadImages (const DilloUrl *pattern)
{
+ dReturn_if_fail (bw->nav_expecting == FALSE);
+
for (int i = 0; i < images->size(); i++) {
if (images->get(i)->image) {
if ((!pattern) || (!a_Url_cmp(images->get(i)->url, pattern))) {