Mercurial > octave-nkf
diff src/ov-fcn-handle.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 | 25bc2d31e1bf |
line wrap: on
line diff
--- a/src/ov-fcn-handle.cc Thu Aug 07 15:17:40 2008 -0400 +++ b/src/ov-fcn-handle.cc Thu Aug 07 15:31:17 2008 -0400 @@ -563,7 +563,7 @@ std::string octaveroot; std::string fpath; - if (nm.find_first_of ("\n") != std::string:npos) + if (nm.find_first_of ("\n") != std::string::npos) { size_t pos1 = nm.find_first_of ("\n"); size_t pos2 = nm.find_first_of ("\n", pos1 + 1);