From: Jonathan Neuschäfer Date: Thu, 16 Sep 2010 01:01:10 +0000 (-0400) Subject: Don't show out-of-sight tildes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0e324883ecdfcaade6061d518541572c327ae33a;p=tig.git Don't show out-of-sight tildes Signed-off-by: Jonas Fonseca --- diff --git a/tig.c b/tig.c index b6df54c..2a31ddd 100644 --- a/tig.c +++ b/tig.c @@ -2407,11 +2407,12 @@ draw_chars(struct view *view, enum line_type type, const char *string, } waddnstr(view->win, string, len); - } - if (trimmed && use_tilde) { - set_view_attr(view, LINE_DELIMITER); - waddch(view->win, '~'); - col++; + + if (trimmed && use_tilde) { + set_view_attr(view, LINE_DELIMITER); + waddch(view->win, '~'); + col++; + } } return col;