changeset 1029:85fd6bedbab1

compiler warning fix: add parenthesis
author Jorge Arellano Cid <jcid@dillo.org>
date Thu, 26 Mar 2009 12:22:53 -0400
parents 7d3d7c405cf4
children a4d70bec9816
files src/html.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/html.cc	Thu Mar 26 11:21:20 2009 -0400
+++ b/src/html.cc	Thu Mar 26 12:22:53 2009 -0400
@@ -2811,7 +2811,7 @@
          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);