From: Enno Boland (tox) Date: Wed, 16 Sep 2009 08:12:27 +0000 (+0200) Subject: auto creation of script.js X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=65e09f7b03659b2922e9525e5235bb3eb6368f87;p=surf.git auto creation of script.js --- 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 */