auto creation of script.js
authorEnno Boland (tox) <tox@s01.de>
Wed, 16 Sep 2009 08:12:27 +0000 (10:12 +0200)
committerEnno Boland (tox) <tox@s01.de>
Wed, 16 Sep 2009 08:12:27 +0000 (10:12 +0200)
surf.c

diff --git a/surf.c b/surf.c
index 0cc5d85..0fbd004 100644 (file)
--- 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 */