Fix url completion when last character in url bar is a /

svn path=/trunk/netsurf/; revision=7105
This commit is contained in:
John Mark Bell 2009-04-16 14:12:54 +00:00
parent 6a7b1a73a7
commit 53bbe5fb9e
1 changed files with 7 additions and 6 deletions

View File

@ -1305,13 +1305,14 @@ bool urldb_iterate_partial_path(const struct path_data *parent,
NULL))
return false;
break;
/* Progress to next sibling */
p = p->next;
} else {
/* Skip over this segment */
prefix = slash + 1;
p = p->children;
}
/* Skip over this segment */
prefix = slash + 1;
p = p->children;
} else {
/* Doesn't match this segment, try next sibling */
p = p->next;