diff src/graphics.cc @ 7070:7593f8e83a2e

[project @ 2007-10-25 20:41:16 by jwe]
author jwe
date Thu, 25 Oct 2007 20:41:17 +0000
parents 8d57f66e35b8
children 625891845df5
line wrap: on
line diff
--- a/src/graphics.cc
+++ b/src/graphics.cc
@@ -842,7 +842,7 @@
   if (error_state)
     return;
 
-  if (is_handle (val))
+  if (xisnan (val.value ()) || is_handle (val))
     currentaxes = val;
   else
     gripe_set_invalid ("currentaxes");