Avoid using global name stylefile in setstyle()
[surf.git] / config.def.h
index 0ade76e..712f975 100644 (file)
@@ -30,7 +30,7 @@ static Parameter defconfig[ParameterLast] = {
        SETB(SiteQuirks,         1),
        SETB(SpellChecking,      0),
        SETV(SpellLanguages,     ((char *[]){ "en_US", NULL })),
-       SETB(StrictSSL,          0),
+       SETB(StrictTLS,          1),
        SETB(Style,              1),
        SETF(ZoomLevel,          1.0),
 };
@@ -90,7 +90,7 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE |
  * The iteration will stop at the first match, beginning at the beginning of
  * the list.
  */
-static SiteStyle styles[] = {
+static SiteSpecific styles[] = {
        /* regexp               file in $styledir */
        { ".*",                 "default.css" },
 };
@@ -153,6 +153,7 @@ static Key keys[] = {
        { MODKEY|GDK_SHIFT_MASK, GDK_KEY_i,      toggle,     { .i = LoadImages } },
        { MODKEY|GDK_SHIFT_MASK, GDK_KEY_v,      toggle,     { .i = Plugins } },
        { MODKEY|GDK_SHIFT_MASK, GDK_KEY_b,      toggle,     { .i = ScrollBars } },
+       { MODKEY|GDK_SHIFT_MASK, GDK_KEY_t,      toggle,     { .i = StrictTLS } },
        { MODKEY|GDK_SHIFT_MASK, GDK_KEY_m,      toggle,     { .i = Style } },
 };