summaryrefslogtreecommitdiff
path: root/gpdl
diff options
context:
space:
mode:
Diffstat (limited to 'gpdl')
-rw-r--r--gpdl/txttop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gpdl/txttop.c b/gpdl/txttop.c
index 73e4c7ac7..b1d2ea9e8 100644
--- a/gpdl/txttop.c
+++ b/gpdl/txttop.c
@@ -680,14 +680,13 @@ process_block(txt_interp_instance_t *instance, const byte *ptr, int n)
return code;
break;
case TXT_STATE_ASCII:
- do
+ while (instance->buffered > 0)
{
code = send_codepoint(instance, s[0]);
if (code < 0)
return code;
drop_buffered(instance, 1);
}
- while (instance->buffered > 0);
break;
default:
return_error(gs_error_Fatal);