aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-01-22 11:49:34 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-01-22 11:49:34 -0300
commitd35e0f6acdb73c04203ba7d6b7e8661ce054d944 (patch)
tree0ed2aeb0515ecd62d48eca598d5043f2135dce7f /src
parentb60641ff73d7660929c8c6cc327d6c8dea9746b1 (diff)
Fix url string usage by calling the appropriate macro (2 places).
Diffstat (limited to 'src')
-rw-r--r--src/html.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html.cc b/src/html.cc
index fd76adf2..a367fe44 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -2108,7 +2108,7 @@ static void Html_tag_open_img(DilloHtml *html, const char *tag, int tagsize)
if (usemap_url) {
((::dw::Image*)Image->dw)->setUseMap(&html->maps,
- new ::object::String(usemap_url->url_string->str));
+ new ::object::String(URL_STR(usemap_url)));
a_Url_free (usemap_url);
}
html->connectSignals((Widget*)Image->dw);
@@ -2129,7 +2129,7 @@ static void Html_tag_open_map(DilloHtml *html, const char *tag, int tagsize)
if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "name"))) {
hash_name = dStrconcat("#", attrbuf, NULL);
url = a_Html_url_new(html, hash_name, NULL, 0);
- html->maps.startNewMap(new ::object::String(url->url_string->str));
+ html->maps.startNewMap(new ::object::String(URL_STR(url)));
a_Url_free (url);
dFree(hash_name);
}