Permalink
Browse files

Merge branch 'nd/maint-i18n-diffstat'

* nd/maint-i18n-diffstat:
  i18n: leave \n out of translated diffstat
  • Loading branch information...
2 parents 5fe1484 + 8212333 commit 97c793404910fbe8b51ec29661619ad0196ac1ae @gitster gitster committed Jul 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 diff.c
View
2 diff.c
@@ -1397,7 +1397,7 @@ int print_stat_summary(FILE *fp, int files, int insertions, int deletions)
if (!files) {
assert(insertions == 0 && deletions == 0);
- return fputs(_(" 0 files changed\n"), fp);
+ return fprintf(fp, "%s\n", _(" 0 files changed"));
}
strbuf_addf(&sb,

0 comments on commit 97c7934

Please sign in to comment.