Mercurial > hg > octave-terminal
changeset 9074:46a0e6e9e446
fix invalid subscript in symtab.cc
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 01 Apr 2009 13:49:15 +0200 |
parents | 17ce09c3d030 |
children | 7b35d3b21c1c |
files | src/symtab.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/symtab.cc +++ b/src/symtab.cc @@ -186,7 +186,7 @@ if (octave_env::absolute_pathname (nm) && ((nm_len > 4 && (nm.substr (nm_len-4) == ".oct" || nm.substr (nm_len-4) == ".mex")) - || (nm_len > 2 && nm.substr (nm_len-4) == ".m"))) + || (nm_len > 2 && nm.substr (nm_len-2) == ".m"))) file = nm; else {