# HG changeset patch # User jwe # Date 1193246183 0 # Node ID 8d57f66e35b8ebc31f0c26a21ac8ff0324083194 # Parent ad2aaf824128a46410a1989fe58943795f99c656 [project @ 2007-10-24 17:16:23 by jwe] diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2007-10-24 John W. Eaton + * graphics.cc (root_figure::properties::set_currentfigure): + Allow currentfigure to be NaN. + * pt-idx.cc (tree_index_expression::lvalue): Correctly compute number of elements in lvalue expression when last indexing element is ".". diff --git a/src/graphics.cc b/src/graphics.cc --- a/src/graphics.cc +++ b/src/graphics.cc @@ -762,7 +762,7 @@ if (error_state) return; - if (is_handle (val)) + if (xisnan (val.value ()) || is_handle (val)) { currentfigure = val;