summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorportix <none@none>2013-01-07 23:39:51 +0100
committerportix <none@none>2013-01-07 23:39:51 +0100
commita086ab66867e10bc7dfc8361d4ad174b9fa76b22 (patch)
tree73e42bafbe1f6bda6c657aabea123888b4aa1048 /src/util.c
parent7932a6209201d03609e125ccc5280ce4dc12d2d3 (diff)
downloaddwb-a086ab66867e10bc7dfc8361d4ad174b9fa76b22.zip
Expand ~ in user-stylesheet-uri; don't throw exceptions when an argument is missing
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c
index 4fc99af5..e2afe993 100644
--- a/src/util.c
+++ b/src/util.c
@@ -342,6 +342,7 @@ util_expand_home(char *buffer, const char *filename, size_t length) {
strncpy(buffer, filename, length);
return buffer;
}
+
char *
util_normalize_filename(char *buffer, const char *filename, size_t length) {
char *tmp = buffer;