diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-10-04 23:29:29 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-10-04 23:29:29 +0300 |
commit | 42bcb6246432790af31958d5445cd035fe9966a5 (patch) | |
tree | 0e458b6c48556a1b86a0374c9bf900fdb31718c1 /profile.c | |
parent | c7a0e4b598a39084c288f975a59549b6068051cf (diff) | |
download | egawk-42bcb6246432790af31958d5445cd035fe9966a5.tar.gz egawk-42bcb6246432790af31958d5445cd035fe9966a5.tar.bz2 egawk-42bcb6246432790af31958d5445cd035fe9966a5.zip |
Fix --gen-pot with long strings.
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |