* catch more render bugs
[citadel.git] / webcit / html2html.c
index e77c2a13ed7c3dbc62a3e46cf5b64f1fba1b3a95..f24ca184dc554a2a54c059775eb1ff4fd85cfea3 100644 (file)
@@ -502,7 +502,7 @@ void UrlizeText(StrBuf* Target, StrBuf *Source, StrBuf *WrkBuf)
        for (pos = ChrPtr(Source); (pos < end) && (start == NULL); ++pos) {
                if (!strncasecmp(pos, "http://", 7))
                        start = pos;
-               if (!strncasecmp(pos, "ftp://", 6))
+               else if (!strncasecmp(pos, "ftp://", 6))
                        start = pos;
        }