Mercurial > hg > octave-nkf
comparison src/input.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 | adab48231a03 |
comparison
equal
deleted
inserted
replaced
8020:1d2bcc163c4d | 8021:85184151822e |
---|---|
271 retval = interactive_input (prompt); | 271 retval = interactive_input (prompt); |
272 | 272 |
273 // There is no need to update the load_path cache if there is no | 273 // There is no need to update the load_path cache if there is no |
274 // user input. | 274 // user input. |
275 if (! retval.empty () | 275 if (! retval.empty () |
276 && retval.find_first_not_of (" \t\n\r") != std::string:npos) | 276 && retval.find_first_not_of (" \t\n\r") != std::string::npos) |
277 load_path::update (); | 277 load_path::update (); |
278 } | 278 } |
279 else | 279 else |
280 retval = gnu_readline (""); | 280 retval = gnu_readline (""); |
281 | 281 |