Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'tr/notes-display'
[gitweb.git]
/
builtin
/
blame.c
diff --git
a/builtin/blame.c
b/builtin/blame.c
index 10f7eacf6e881cdb54a6b4a4c0aafc5f9751e5a9..fc1586350f94ae48e7e48a51818517b465e7a40d 100644
(file)
--- a/
builtin/blame.c
+++ b/
builtin/blame.c
@@
-1772,7
+1772,7
@@
static int lineno_width(int lines)
{
int i, width;
- for (width = 1, i = 10; i <= lines
+ 1
; width++)
+ for (width = 1, i = 10; i <= lines; width++)
i *= 10;
return width;
}