diff src/oct-stream.cc @ 5575:9b4d9dbe88f7

[project @ 2005-12-13 18:44:20 by jwe]
author jwe
date Tue, 13 Dec 2005 18:44:20 +0000
parents 941f0fc6b596
children 79ecf64976ce
line wrap: on
line diff
--- a/src/oct-stream.cc
+++ b/src/oct-stream.cc
@@ -3941,7 +3941,7 @@
     {
       octave_stream tmp = list(i);
 
-      if (! tmp)
+      if (! tmp.is_open ())
 	{
 	  list(i) = os;
 	  stream_number = i;