changeset 20837:c54ae1fb7e3b

maint: Fix typo in code comments. * ls-oct-binary.cc, ls-oct-text.cc: Use correct spelling of compatibility.
author Rik <rik@octave.org>
date Thu, 10 Dec 2015 12:49:30 -0800
parents ce8c465aa6a4
children 8f123945970e
files libinterp/corefcn/ls-oct-binary.cc libinterp/corefcn/ls-oct-text.cc
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/ls-oct-binary.cc	Wed Dec 09 15:43:37 2015 -0800
+++ b/libinterp/corefcn/ls-oct-binary.cc	Thu Dec 10 12:49:30 2015 -0800
@@ -113,7 +113,7 @@
 // to create an octave_value of the correct type. The specific load/save
 // function is then called.
 //
-// For backward compatiablity "data type" can also be a value between 1
+// For backward compatibility "data type" can also be a value between 1
 // and 7, where this defines a hardcoded octave_value of the type
 //
 //   data type                  octave_value
--- a/libinterp/corefcn/ls-oct-text.cc	Wed Dec 09 15:43:37 2015 -0800
+++ b/libinterp/corefcn/ls-oct-text.cc	Thu Dec 10 12:49:30 2015 -0800
@@ -272,7 +272,7 @@
       else
         typ = tag;
 
-      // Special case for backward compatiablity. A small bit of cruft
+      // Special case for backward compatibility.  A small bit of cruft
       if (SUBSTRING_COMPARE_EQ (typ, 0, 12, "string array"))
         tc = charMatrix ();
       else