Commit 9a06b351 authored by Chong Yidong's avatar Chong Yidong
Browse files

(print_object): Fix off-by-one in last change.

parent ff7eaa83
......@@ -1488,7 +1488,7 @@ print_object (obj, printcharfun, escapeflag)
/* See similar code in print_preprocess. */
if (print_depth > PRINT_CIRCLE)
if (print_depth >= PRINT_CIRCLE)
error ("Apparently circular structure being printed");
/* Detect circularities and truncate them. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment