diff src/ls-oct-ascii.cc @ 8021:85184151822e

fix typo in NPOS change
author John W. Eaton <jwe@octave.org>
date Thu, 07 Aug 2008 15:31:17 -0400
parents 0ef13e15319b
children 7d19f4f70c61
line wrap: on
line diff
--- a/src/ls-oct-ascii.cc
+++ b/src/ls-oct-ascii.cc
@@ -276,7 +276,7 @@
       std::string typ;
       size_t pos = tag.rfind (' ');
 
-      if (pos != std::string:npos)
+      if (pos != std::string::npos)
 	{
 	  global = SUBSTRING_COMPARE_EQ (tag, 0, 6, "global");