On Thu, Feb 22, 2018 at 03:26:06AM +0800, nzl wrote:
> ---
> surf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/surf.c b/surf.c
> index 0f8b9c9..940a6ad 100644
> --- a/surf.c
> +++ b/surf.c
> _AT_@ -917,7 +917,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);
> }
>
> --
> 2.15.1
>
>
Yes, looks good to me.
--
Kind regards,
Hiltjo
Received on Thu Feb 22 2018 - 17:43:12 CET