summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-03-04 15:28:16 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-03-04 15:28:16 +0100
commit401ddff56406a8f2eb0a82aca20ea43ba44a8a84 (patch)
tree44510181788f2515d76e107a2d4b80ba8b1ade98
parent16e62bdc609076fa55e8e0140c839703892108d0 (diff)
downloadweechat-401ddff56406a8f2eb0a82aca20ea43ba44a8a84.zip
Fix display in bars with filling horizontal
-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;