fix problem with recursive prints in custom printers

Merge to 5.0.2
This commit is contained in:
Matthew Flatt 2010-10-17 19:20:18 -07:00
parent 0614da5992
commit bb799ee9ee

View File

@ -3983,7 +3983,6 @@ static void custom_write_struct(Scheme_Object *s, Scheme_Hash_Table *ht,
a[1] = o;
if (notdisplay >= 3) {
a[2] = scheme_bin_plus(pp->depth_delta, scheme_make_integer(notdisplay - 3));
pp->depth_delta = a[2];
} else
a[2] = (notdisplay ? scheme_true : scheme_false);