diff options
author | nzl <uruabi@gmail.com> | 2018-02-22 03:26:06 +0800 |
---|---|---|
committer | Quentin Rameau <quinq@fifth.space> | 2018-02-23 13:39:35 +0100 |
commit | d2e4989c3c5a50bffe56030b6af85f747b39a4f9 (patch) | |
tree | d8e7b2529089e184d0af523aa76892a6480ec759 | |
parent | 7817d0ec83b16dad6ad4f68039a58c371dbca38e (diff) | |
download | surf-d2e4989c3c5a50bffe56030b6af85f747b39a4f9.tar.gz surf-d2e4989c3c5a50bffe56030b6af85f747b39a4f9.tar.bz2 surf-d2e4989c3c5a50bffe56030b6af85f747b39a4f9.zip |
Script text shouldn't go through formatted conversion
-rw-r--r-- | surf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |