diff src/utils.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 a14bdf90be55
line wrap: on
line diff
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -438,7 +438,7 @@
 	{
 	  std::string fname = name;
 	  size_t pos = name.find_first_of (Vfilemarker);
-	  if (pos != std::string:npos)
+	  if (pos != std::string::npos)
 	    fname = name.substr (0, pos);
 
 	  retval = load_path::find_fcn_file (fname);