diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-05-21 11:07:15 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-05-21 11:07:15 +0200 |
commit | 2e43bac479d1fba40ba3e3a1e0cc22bcdc9abee7 (patch) | |
tree | c41ef9019bcd18e1945864420a8eac86e7c95bf5 /src/gui/gui-line.c | |
parent | a256cb4d4d30d2f496f9800ad915f72679286caf (diff) | |
download | weechat-2e43bac479d1fba40ba3e3a1e0cc22bcdc9abee7.zip |
core: fix line alignment when option weechat.look.buffer_time_format is set to empty string
A regression was introduced by commit 305175fb8c464a169e767a814f5c400154507e6f
Diffstat (limited to 'src/gui/gui-line.c')
-rw-r--r-- | src/gui/gui-line.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-line.c b/src/gui/gui-line.c index 51ed5288d..c4c4cbef2 100644 --- a/src/gui/gui-line.c +++ b/src/gui/gui-line.c @@ -210,7 +210,7 @@ gui_line_get_align (struct t_gui_buffer *buffer, struct t_gui_line *line, int length_time, length_buffer, length_suffix, prefix_length, prefix_is_nick; /* return immediately if line has no time (not aligned) */ - if (!line->data->str_time || !line->data->str_time[0]) + if (line->data->date == 0) return 0; /* return immediately if alignment for end of lines is "time" */ |