aboutsummaryrefslogtreecommitdiffstats
path: root/src/wins.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wins.c')
-rw-r--r--src/wins.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wins.c b/src/wins.c
index d8f1f45..1267552 100644
--- a/src/wins.c
+++ b/src/wins.c
@@ -175,9 +175,9 @@ void wins_set_layout(int nb)
/* Get the current side bar width. */
unsigned wins_sbar_width(void)
{
- if (sbarwidth_perc > SBARMAXWIDTHPERC)
+ if (sbarwidth_perc > SBARMAXWIDTHPERC) {
return col * SBARMAXWIDTHPERC / 100;
- else {
+ } else {
unsigned sbarwidth = (unsigned)(col * sbarwidth_perc / 100);
return (sbarwidth < SBARMINWIDTH) ? SBARMINWIDTH : sbarwidth;
}