Code

Minor cleanup in blame_draw
authorJonas Fonseca <fonseca@diku.dk>
Thu, 3 Apr 2008 16:34:59 +0000 (18:34 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Sun, 6 Apr 2008 12:05:30 +0000 (14:05 +0200)
tig.c

diff --git a/tig.c b/tig.c
index 6eec45954fec978200531fe5510f8f5ef5940be8..1f7d866ac917a770dff577530fc3518d68f001d1 100644 (file)
--- 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;
 }