Added a missing change for RRIP-1.10 option to rrip_calc_len()

This commit is contained in:
Thomas Schmitt 2008-11-25 17:07:24 +01:00
parent a8c7d1b0e6
commit 6b273ef79a

View File

@ -615,7 +615,11 @@ size_t rrip_calc_len(Ecma119Image *t, Ecma119Node *n, int type, size_t space,
*ce = 0; *ce = 0;
/* PX and TF, we are sure they always fit in SUA */ /* PX and TF, we are sure they always fit in SUA */
if (!t->rrip_version_1_10) {
su_size = 44 + 26; su_size = 44 + 26;
} else {
su_size = 36 + 26;
}
if (n->type == ECMA119_DIR) { if (n->type == ECMA119_DIR) {
if (n->info.dir->real_parent != NULL) { if (n->info.dir->real_parent != NULL) {