@ -458,10 +458,7 @@ char *word_wrap(char *text, int width, int max_word, int *lines)
int line_pos = 0;
char ch;
while ((ch = *text) != '\0') {
text++;
for (char ch; (ch = *text) != '\0'; text++) {
switch (ch) {
case '\n':
case ' ':