string: Clean up for_each_line() and related functions.
[paraslash.git] / gui.c
diff --git a/gui.c b/gui.c
index fb70dd8..7bb74e6 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -1019,7 +1019,7 @@ repeat:
                                COMMAND_BUF_SIZE - 1 - cbo[i], &rfds, &sz);
                        cbo[i] += sz;
                        sz = cbo[i];
-                       cbo[i] = for_each_line(command_buf[i], cbo[i],
+                       cbo[i] = for_each_line(0, command_buf[i], cbo[i],
                                add_output_line, &i);
                        if (sz != cbo[i])
                                wrefresh(bot.win);