Commit 77fb21c5 authored by bviktor's avatar bviktor

Merge pull request #142 from RichardHitt/master

Fix "Fix URL Detection"
parents 8df11c03 5f60820e
......@@ -207,7 +207,7 @@ url_check_word (char *word, int len)
#ifdef WIN32
if ((len > 1 && word[0] == '\\') || (len > 2 && (((word[0] >= 'A' && word[0] <= 'Z') || (word[0] >= 'a' && word[0] <= 'z')) && word[1] == ':')))
#else
if (len > 1 && word[0] != '/')
if (len > 1 && word[0] == '/')
#endif
{
return WORD_PATH;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment