summaryrefslogtreecommitdiff
path: root/render/imagemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/imagemap.c')
-rw-r--r--render/imagemap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/render/imagemap.c b/render/imagemap.c
index e8d61384f..7632b458c 100644
--- a/render/imagemap.c
+++ b/render/imagemap.c
@@ -632,12 +632,11 @@ void imagemap_freelist(struct mapentry *list)
* \param target Pointer to location to receive target pointer (if any)
* \return The url associated with this area, or NULL if not found
*/
-const char *imagemap_get(hlcache_handle *h, const char *key,
+const char *imagemap_get(struct html_content *c, const char *key,
unsigned long x, unsigned long y,
unsigned long click_x, unsigned long click_y,
const char **target)
{
- html_content *c = (html_content *) hlcache_handle_get_content(h);
unsigned int slot = 0;
struct imagemap *map;
struct mapentry *entry;