From: Kenichi Handa Date: Thu, 22 Jun 2000 01:21:00 +0000 (+0000) Subject: (ccl_driver) : Decrement stack_idx only when it is greater X-Git-Tag: emacs-pretest-21.0.90~3147 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d3a478e2abbe99c9545ba0b5e0b2d63ceaa8e4cb;p=emacs.git (ccl_driver) : Decrement stack_idx only when it is greater than 0. --- diff --git a/src/ccl.c b/src/ccl.c index 8e2ba81501e..4f0dfbfbdbc 100644 --- a/src/ccl.c +++ b/src/ccl.c @@ -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;