aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-03-26 12:22:53 -0400
committerJorge Arellano Cid <jcid@dillo.org>2009-03-26 12:22:53 -0400
commitb9edbd61cf0fe8db65c676fd927747554028b289 (patch)
tree9619ad64b3709fdf9662c2e16bef1ec228251d57 /src/html.cc
parent73966626709d7bc83d0d7e5b173481139ee3e0af (diff)
compiler warning fix: add parenthesis
Diffstat (limited to 'src/html.cc')
-rw-r--r--src/html.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html.cc b/src/html.cc
index 912c9a6a..5e864b20 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -2811,7 +2811,7 @@ static void Html_tag_open_meta(DilloHtml *html, const char *tag, int tagsize)
while (*content && *(content++) != '=') ;
/* Handle the case of a quoted URL */
if (*content == '"' || *content == '\'') {
- if (p = strchr(content + 1, *content))
+ if ((p = strchr(content + 1, *content)))
mr_url = dStrndup(content + 1, p - content - 1);
else
mr_url = strdup(content + 1);