summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2017-03-06 11:00:04 +0100
committerQuentin Rameau <quinq@fifth.space>2017-03-06 11:00:04 +0100
commit37e43501d80710533f3ec0bd61ee84916c8524a4 (patch)
tree04a040477e69553d8a7f5821eb67e23e6d4b3ceb /surf.c
parentda5290a41aac4eabef83f6b88039f44d28b0ea00 (diff)
Fix font-size setting parameter value type in newview
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/surf.c b/surf.c
index fb3ef81..cd0a13c 100644
--- 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,