X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/c6fe94e02a3963d4fddaf09cfc3e3dc1e186a881..53bc747d311d18642fa3ad0cc0de34f3899ed1f4:/ui-ssdiff.c diff --git a/ui-ssdiff.c b/ui-ssdiff.c index 7108779..3d3dad6 100644 --- a/ui-ssdiff.c +++ b/ui-ssdiff.c @@ -138,9 +138,8 @@ static char *replace_tabs(char *line) strcat(result, prev_buf); break; } else { - strcat(result, " "); - strncat(result, spaces, 8 - (strlen(result) % 8)); strncat(result, prev_buf, cur_buf - prev_buf); + strncat(result, spaces, 8 - (strlen(result) % 8)); } prev_buf = cur_buf + 1; }