Fix togglestats array
This commit is contained in:
parent
bcd7d74e61
commit
761ea9e4c6
1 changed files with 5 additions and 6 deletions
11
surf.c
11
surf.c
|
@ -240,7 +240,7 @@ static void clicknewwindow(Client *c, const Arg *a, WebKitHitTestResult *h);
|
||||||
static void clickexternplayer(Client *c, const Arg *a, WebKitHitTestResult *h);
|
static void clickexternplayer(Client *c, const Arg *a, WebKitHitTestResult *h);
|
||||||
|
|
||||||
static char winid[64];
|
static char winid[64];
|
||||||
static char togglestats[12];
|
static char togglestats[11];
|
||||||
static char pagestats[2];
|
static char pagestats[2];
|
||||||
static Atom atoms[AtomLast];
|
static Atom atoms[AtomLast];
|
||||||
static Window embed;
|
static Window embed;
|
||||||
|
@ -668,11 +668,10 @@ gettogglestats(Client *c)
|
||||||
togglestats[3] = curconfig[DiskCache].val.i ? 'D' : 'd';
|
togglestats[3] = curconfig[DiskCache].val.i ? 'D' : 'd';
|
||||||
togglestats[4] = curconfig[LoadImages].val.i ? 'I' : 'i';
|
togglestats[4] = curconfig[LoadImages].val.i ? 'I' : 'i';
|
||||||
togglestats[5] = curconfig[JavaScript].val.i ? 'S' : 's';
|
togglestats[5] = curconfig[JavaScript].val.i ? 'S' : 's';
|
||||||
togglestats[7] = curconfig[Style].val.i ? 'M' : 'm';
|
togglestats[6] = curconfig[Style].val.i ? 'M' : 'm';
|
||||||
togglestats[8] = curconfig[FrameFlattening].val.i ? 'F' : 'f';
|
togglestats[7] = curconfig[FrameFlattening].val.i ? 'F' : 'f';
|
||||||
togglestats[9] = curconfig[Certificate].val.i ? 'X' : 'x';
|
togglestats[8] = curconfig[Certificate].val.i ? 'X' : 'x';
|
||||||
togglestats[10] = curconfig[StrictTLS].val.i ? 'T' : 't';
|
togglestats[9] = curconfig[StrictTLS].val.i ? 'T' : 't';
|
||||||
togglestats[11] = '\0';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue