Fix font-size setting parameter value type in newview
authorQuentin Rameau <quinq@fifth.space>
Mon, 6 Mar 2017 10:00:04 +0000 (11:00 +0100)
committerQuentin Rameau <quinq@fifth.space>
Mon, 6 Mar 2017 10:00:04 +0000 (11:00 +0100)
surf.c

diff --git a/surf.c b/surf.c
index fb3ef81..cd0a13c 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -918,7 +918,7 @@ newview(Client *c, WebKitWebView *rv)
        } else {
                settings = webkit_settings_new_with_settings(
                   "auto-load-images", curconfig[LoadImages].val.b,
-                  "default-font-size", curconfig[FontSize].val.f,
+                  "default-font-size", curconfig[FontSize].val.i,
                   "enable-caret-browsing", curconfig[CaretBrowsing].val.b,
                   "enable-developer-extras", curconfig[Inspector].val.b,
                   "enable-dns-prefetching", curconfig[DNSPrefetch].val.b,