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
1 changed files with 5 additions and 1 deletions

View File

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