Ensure ce is set to 0 at the beginning of calc size.
This commit is contained in:
parent
ddd703e7c4
commit
bf51fba3bc
@ -482,6 +482,7 @@ size_t rrip_calc_len(Ecma119Image *t, Ecma119Node *n, int type,
|
|||||||
* (ECMA-119, 9.1.13). Thus, in fact the real space is always space - 1
|
* (ECMA-119, 9.1.13). Thus, in fact the real space is always space - 1
|
||||||
*/
|
*/
|
||||||
space--;
|
space--;
|
||||||
|
*ce = 0;
|
||||||
|
|
||||||
/* PX and TF, we are sure they always fit in SUA */
|
/* PX and TF, we are sure they always fit in SUA */
|
||||||
su_size = 44 + 26;
|
su_size = 44 + 26;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user