X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=surf.c;h=0fbd0048d65c9a3539a70ede8ae0921cc64f8f2d;hb=65e09f7b03659b2922e9525e5235bb3eb6368f87;hp=0cc5d852557566080b09e0c104f34694fd5d5db6;hpb=e9d4da3030f534d1a6a6882a642de4fb12fe4941;p=surf.git 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 */