X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=surf.c;fp=surf.c;h=f01a91cddfbabdb22c41edbb3de75c35451c7bdf;hp=95b09be9d6d2067fc297f22c4895dc4497f6d055;hb=d2e4989c3c5a50bffe56030b6af85f747b39a4f9;hpb=7817d0ec83b16dad6ad4f68039a58c371dbca38e diff --git a/surf.c b/surf.c index 95b09be..f01a91c 100644 --- a/surf.c +++ b/surf.c @@ -921,7 +921,7 @@ runscript(Client *c) gsize l; if (g_file_get_contents(scriptfile, &script, &l, NULL) && l) - evalscript(c, script); + evalscript(c, "%s", script); g_free(script); }