changed process_buffer to use the isprint() call.

This commit is contained in:
William Hubbs 2008-10-08 18:14:17 -05:00
commit 6bec55ca57

View file

@ -102,7 +102,7 @@ static void process_buffer(struct synth_t *s, char *buf, ssize_t length)
start = 0;
end = 0;
while (start < length) {
while (buf[end] >= 32 && end < length)
while (isprint(buf[end]) && end < length)
end++;
if (end != start) {
txtLen = end - start;