1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00

(ccl_driver) <CCL_End>: Decrement stack_idx only when it is greater

than 0.
This commit is contained in:
Kenichi Handa 2000-06-22 01:21:00 +00:00
parent a8f573f3a7
commit d3a478e2ab

View file

@ -1026,8 +1026,9 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed)
break;
case CCL_End: /* 0000000000000000000000XXXXX */
if (stack_idx-- > 0)
if (stack_idx > 0)
{
stack_idx--;
ccl_prog = ccl_prog_stack_struct[stack_idx].ccl_prog;
ic = ccl_prog_stack_struct[stack_idx].ic;
break;