mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 09:13:08 +03:00
Fix debug build.
svn path=/trunk/netsurf/; revision=3072
This commit is contained in:
parent
ec563e60ca
commit
8e530e68ae
@ -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) { }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user