diff options
author | corvid <corvid@lavabit.com> | 2009-02-08 19:31:32 -0300 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2009-02-08 19:31:32 -0300 |
commit | 76c6fe90916a407aace73ab6c79e08495c4bcec0 (patch) | |
tree | f9f4e5a89f5223b9174a2012c31ca1dc2ae423e1 /src/html.cc | |
parent | 24cc07871e0744853dfaed26c9a8eff0b62ff35d (diff) |
Fixed the load image popup option. Also cleaned up the API a bit.
Introduced a_Bw_get_url_doc(). Mainly for popup menus.
Diffstat (limited to 'src/html.cc')
-rw-r--r-- | src/html.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html.cc b/src/html.cc index be85d47f..fa46de34 100644 --- a/src/html.cc +++ b/src/html.cc @@ -727,8 +727,8 @@ bool DilloHtml::HtmlLinkReceiver::press (Widget *widget, int link, int img, if (link != -1) linkurl = html->links->get(link); const bool_t loaded_img = (html->images->get(img)->image == NULL); - a_UIcmd_image_popup( - bw, html->images->get(img)->url, loaded_img, linkurl); + a_UIcmd_image_popup(bw, html->images->get(img)->url, loaded_img, + html->page_url, linkurl); ret = true; } else { if (link == -1) { |