summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/curses/gui-curses-bar-window.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/curses/gui-curses-bar-window.c b/src/gui/curses/gui-curses-bar-window.c
index 24b0c9468..177a4d72d 100644
--- a/src/gui/curses/gui-curses-bar-window.c
+++ b/src/gui/curses/gui-curses-bar-window.c
@@ -389,16 +389,6 @@ gui_bar_window_print_string (struct t_gui_bar_window *bar_window,
free (output);
*x += size_on_screen;
-
- if ((*x >= bar_window->width)
- && (filling == GUI_BAR_FILLING_HORIZONTAL))
- {
- if (*y >= bar_window->height - 1)
- return 0;
- *x = 0;
- (*y)++;
- wmove (GUI_BAR_WINDOW_OBJECTS(bar_window)->win_bar, *y, *x);
- }
}
}
string = next_char;