Script text shouldn't go through formatted conversion
This commit is contained in:
parent
7817d0ec83
commit
d2e4989c3c
1 changed files with 1 additions and 1 deletions
2
surf.c
2
surf.c
|
@ -921,7 +921,7 @@ runscript(Client *c)
|
||||||
gsize l;
|
gsize l;
|
||||||
|
|
||||||
if (g_file_get_contents(scriptfile, &script, &l, NULL) && l)
|
if (g_file_get_contents(scriptfile, &script, &l, NULL) && l)
|
||||||
evalscript(c, script);
|
evalscript(c, "%s", script);
|
||||||
g_free(script);
|
g_free(script);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue