switch (stack->state) {
case TADSTACK_STATE_START:
if (segid == TS_TEXT) {
- if (len < 32) {
+ if (len < 24) {
ret = TADSTACK_RESULT_FORMAT_ERROR;
break;
}
tadstack_pushTEXTstack(stack, textseg->view, textseg->draw, textseg->h_unit, textseg->v_unit, textseg->lang, textseg->bgpat);
ret = TADSTACK_RESULT_PUSH_STACK;
} else if (segid == TS_FIG) {
- if (len < 32) {
+ if (len < 24) {
ret = TADSTACK_RESULT_FORMAT_ERROR;
break;
}