diff src/graphics.cc @ 7059:8d57f66e35b8

[project @ 2007-10-24 17:16:23 by jwe]
author jwe
date Wed, 24 Oct 2007 17:16:23 +0000
parents 2002804df782
children 7593f8e83a2e
line wrap: on
line diff
--- a/src/graphics.cc	Wed Oct 24 06:15:40 2007 +0000
+++ b/src/graphics.cc	Wed Oct 24 17:16:23 2007 +0000
@@ -762,7 +762,7 @@
   if (error_state)
     return;
 
-  if (is_handle (val))
+  if (xisnan (val.value ()) || is_handle (val))
     {
       currentfigure = val;