Fix font-size setting parameter value type in newview

This commit is contained in:
Quentin Rameau 2017-03-06 11:00:04 +01:00
parent da5290a41a
commit 37e43501d8

2
surf.c
View File

@ -918,7 +918,7 @@ newview(Client *c, WebKitWebView *rv)
} else { } else {
settings = webkit_settings_new_with_settings( settings = webkit_settings_new_with_settings(
"auto-load-images", curconfig[LoadImages].val.b, "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-caret-browsing", curconfig[CaretBrowsing].val.b,
"enable-developer-extras", curconfig[Inspector].val.b, "enable-developer-extras", curconfig[Inspector].val.b,
"enable-dns-prefetching", curconfig[DNSPrefetch].val.b, "enable-dns-prefetching", curconfig[DNSPrefetch].val.b,