* Fix line split logic in help
Fixes #1018
{
int col;
int col_a, col_b;
- int split;
+ bool split;
int n;
fputs(t1, f);
- /* don't try to press string into one line with less than 40 characters.
- The double parenthesis avoids a gcc warning, sigh ... */
- split = MuttIndexWindow->cols;
- if (split < 40)
+ /* don't try to press string into one line with less than 40 characters. */
+ split = (MuttIndexWindow->cols < 40);
+ if (split)
{
col_a = col = 0;
col_b = LONG_STRING;