summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-09-16 10:12:27 +0200
committerEnno Boland (tox) <tox@s01.de>2009-09-16 10:12:27 +0200
commit65e09f7b03659b2922e9525e5235bb3eb6368f87 (patch)
tree5b55c71ab40067fcd6de955debbca5c26e203015 /surf.c
parente9d4da3030f534d1a6a6882a642de4fb12fe4941 (diff)
downloadsurf-65e09f7b03659b2922e9525e5235bb3eb6368f87.tar.gz
surf-65e09f7b03659b2922e9525e5235bb3eb6368f87.tar.bz2
surf-65e09f7b03659b2922e9525e5235bb3eb6368f87.zip
auto creation of script.js
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/surf.c b/surf.c
index 0cc5d85..0fbd004 100644
--- a/surf.c
+++ b/surf.c
@@ -599,6 +599,9 @@ setup(void) {
name = g_build_filename(workdir, "style.css", NULL);
if((tmp = g_fopen(name, "a")));
fclose(tmp);
+ name = g_build_filename(workdir, "script.js", NULL);
+ if((tmp = g_fopen(name, "a")));
+ fclose(tmp);
/* cookie persistance */