From f1b8c11103e7c7f45c896396c5f4ff88884e46a3 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Thu, 3 Apr 2008 18:34:59 +0200 Subject: [PATCH] Minor cleanup in blame_draw --- tig.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tig.c b/tig.c index 6eec459..1f7d866 100644 --- a/tig.c +++ b/tig.c @@ -3648,14 +3648,11 @@ blame_draw(struct view *view, struct line *line, unsigned int lineno, bool selec wmove(view->win, lineno, col); } - { - col += draw_lineno(view, lineno, view->width - col, selected); - if (col >= view->width) - return TRUE; - } + col += draw_lineno(view, lineno, view->width - col, selected); + if (col >= view->width) + return TRUE; col += draw_text(view, blame->text, view->width - col, TRUE, selected); - return TRUE; } -- 2.30.2