aboutsummaryrefslogtreecommitdiffstats
path: root/src/strings.c
diff options
context:
space:
mode:
authorMax <max@mxzero.net>2023-11-06 02:16:43 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2023-11-06 15:42:59 -0500
commitb9a07191175217ea803bab7b38328bd53eca7925 (patch)
tree2b5cf4e4a3a47d47363ada594259eb190a6e84a2 /src/strings.c
parentd4eb9f85d07351e184ba16ff91c327425653d3e9 (diff)
downloadcalcurse-b9a07191175217ea803bab7b38328bd53eca7925.tar.gz
calcurse-b9a07191175217ea803bab7b38328bd53eca7925.zip
remove unnecessary set of sidebar width
When the function is called, `col` is zero, which leads to setting the sidebar width (in percent) to zero. As the variable holding the percentage is `static unsigned sbarwidth_perc` it is initialized to zero anyway and we set the percentage later to the value loaded from the configuration, too. Signed-off-by: Max <max@mxzero.net> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/strings.c')
0 files changed, 0 insertions, 0 deletions