summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dc5f8a5)
raw | patch | inline | side by side (parent: dc5f8a5)
author | Jonas Fonseca <fonseca@diku.dk> | |
Sun, 15 Feb 2009 17:10:05 +0000 (18:10 +0100) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Sun, 15 Feb 2009 17:10:42 +0000 (18:10 +0100) |
tig.c | patch | blob | history |
index 148b6b60b1147c130ea7778745011f9cd4646daa..725ace02579782ab55d4b511cfd89c8c8fc2f19d 100644 (file)
--- a/tig.c
+++ b/tig.c
while (spaces > 0) {
int len = MIN(spaces, sizeof(space) - 1);
- col += draw_chars(view, type, space, spaces, FALSE);
+ col += draw_chars(view, type, space, len, FALSE);
spaces -= len;
}