Fix debug build.

svn path=/trunk/netsurf/; revision=3072
This commit is contained in:
James Bursa 2006-11-26 21:06:14 +00:00
parent ec563e60ca
commit 8e530e68ae

View File

@ -211,6 +211,16 @@ char *url_to_path(const char *url)
return strdup(url + 5);
}
char *path_to_url(const char *path)
{
char *r = malloc(strlen(path) + 7 + 1);
strcpy(r, "file://");
strcat(r, path);
return r;
}
void tree_set_node_sprite(struct node *node, const char *sprite,
const char *expanded) { }