From 42bcb6246432790af31958d5445cd035fe9966a5 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sat, 4 Oct 2014 23:29:29 +0300 Subject: Fix --gen-pot with long strings. --- profile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'profile.c') diff --git a/profile.c b/profile.c index b0fbbedb..84e7f9da 100644 --- a/profile.c +++ b/profile.c @@ -909,11 +909,11 @@ pp_string_fp(Func_print print_func, FILE *fp, const char *in_str, slen = strlen(str); for (count = 0; slen > 0; slen--, str++) { + print_func(fp, "%c", *str); if (++count >= BREAKPOINT && breaklines) { print_func(fp, "%c\n%c", delim, delim); count = 0; - } else - print_func(fp, "%c", *str); + } } efree(s); } -- cgit v1.2.3