(EMIT_SHIFT_TO_INIT): Update number of written bytes.

This commit is contained in:
Ulrich Drepper 1999-11-26 06:16:50 +00:00
parent a9e711dde7
commit 338a78259b
2 changed files with 4 additions and 0 deletions

View File

@ -212,6 +212,8 @@ gconv_end (struct gconv_step *data)
*outbuf++ = ESC; \
*outbuf++ = '('; \
*outbuf++ = 'B'; \
if (data->__is_last) \
*written += 3; \
data->outbuf = outbuf; \
/* Note that this also clears the G2 designation. */ \
data->statep->count = ASCII_set; \

View File

@ -91,6 +91,8 @@ enum
{ \
/* Write out the shift sequence. */ \
*outbuf++ = SI; \
if (data->__is_last) \
*written += 1; \
data->outbuf = outbuf; \
data->statep->count = ASCII_set; \
} \