aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-10-04 23:33:23 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-10-04 23:33:23 +0300
commit5bbb7a9ec75b08d29557876bb77f9c4349e17ce8 (patch)
treed1747c8329e7c71c6072f359686dc797a2060c35 /profile.c
parentabff9b12506c0b8d971a7b6c9b08ada126d67e0d (diff)
parent0054d8fc4f53f27817764dee7bac7ec36fd312f8 (diff)
downloadegawk-5bbb7a9ec75b08d29557876bb77f9c4349e17ce8.tar.gz
egawk-5bbb7a9ec75b08d29557876bb77f9c4349e17ce8.tar.bz2
egawk-5bbb7a9ec75b08d29557876bb77f9c4349e17ce8.zip
Merge branch 'master' into comment
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile.c b/profile.c
index da41a560..99a7714f 100644
--- a/profile.c
+++ b/profile.c
@@ -941,11 +941,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);
}