diff src/sysdep.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 5dd06f19e9be
line wrap: on
line diff
--- a/src/sysdep.cc	Thu Aug 07 15:17:40 2008 -0400
+++ b/src/sysdep.cc	Thu Aug 07 15:31:17 2008 -0400
@@ -138,7 +138,7 @@
     {
       size_t pos = bin_dir.rfind ("\\bin\\");
 
-      if (pos != std::string:npos)
+      if (pos != std::string::npos)
 	octave_env::putenv ("OCTAVE_HOME", bin_dir.substr (0, pos));
     }
 }