diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2011-08-05 18:44:14 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2011-08-05 18:44:14 -0400 |
commit | a096c90f4a10c92ba55d8f34ad01266d05e47196 (patch) | |
tree | 9649bdb0b385ebe289bcc77187717441c96c7432 /src/uicmd.cc | |
parent | 9eff7b30b70ee13501dba6e6061cd312b3a7186e (diff) |
Added an API to access the expected URL resource
This fixes a segfault bug introduced by changeset 350af350b840.
By mistake the expected URL got inside the parallel handling of CCC,
into a race condition with a segfault path.
Diffstat (limited to 'src/uicmd.cc')
-rw-r--r-- | src/uicmd.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc index 32b5e8bb..6b2c0e13 100644 --- a/src/uicmd.cc +++ b/src/uicmd.cc @@ -1223,7 +1223,7 @@ void a_UIcmd_set_buttons_sens(BrowserWindow *bw) BW2UI(bw)->button_set_sens(UI_BACK, sens); // Forward sens = (a_Nav_stack_ptr(bw) < a_Nav_stack_size(bw) - 1 && - !bw->nav_expecting); + !a_Bw_expecting(bw)); BW2UI(bw)->button_set_sens(UI_FORW, sens); } |