Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
print_wrapped_text: fix output for negative indent
[gitweb.git]
/
utf8.c
diff --git
a/utf8.c
b/utf8.c
index ea23a6e5dc60bc3683c98a01f9a4e7dd8c7efb18..9e1a6d4964c04f21aff757534f09d013c64f5675 100644
(file)
--- a/
utf8.c
+++ b/
utf8.c
@@
-268,7
+268,7
@@
int print_wrapped_text(const char *text, int indent, int indent2, int width)
}
else {
putchar('\n');
- text = bol = space +
1
;
+ text = bol = space +
isspace(*space)
;
space = NULL;
w = indent = indent2;
}