changeset 10627:8dce19c3ecf7

fix typo in textread
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 11 May 2010 10:28:16 +0200
parents 044d9df4d79a
children d406d91aa9c3
files scripts/ChangeLog scripts/io/textread.m
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Wed May 12 16:26:08 2010 -0700
+++ b/scripts/ChangeLog	Tue May 11 10:28:16 2010 +0200
@@ -1,3 +1,7 @@
+2010-05-11  Jaroslav Hajek  <highegg@gmail.com>
+
+	* io/textread.m: Fix typo.
+
 2010-05-08  David Gesswein <djg@pdp8online.com>
 
         * io/dlmwrite.m: Correctly set output precision (#29870).
--- a/scripts/io/textread.m	Wed May 12 16:26:08 2010 -0700
+++ b/scripts/io/textread.m	Tue May 11 10:28:16 2010 +0200
@@ -39,7 +39,7 @@
     print_usage ();
   endif
   
-  if (!ischar (filename) || !ischar (filename))
+  if (!ischar (filename) || !ischar (formatstr))
     error ("textread: first and second input arguments must be strings");
   endif