Mercurial > hg > octave-terminal
changeset 8464:cb48e594a441
Fchar, Fstrvcat: use queue correctly
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 12 Jan 2009 12:36:09 -0500 |
parents | a74871446af7 |
children | cddf85b1524a |
files | src/strfns.cc |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/strfns.cc +++ b/src/strfns.cc @@ -112,7 +112,8 @@ for (int i = 0; i < nargin; i++) { - string_vector s = args_as_strings.pop (); + string_vector s = args_as_strings.front (); + args_as_strings.pop (); int n = s.length (); @@ -231,7 +232,8 @@ for (int i = 0; i < nargin; i++) { - string_vector s = args_as_strings.pop (); + string_vector s = args_as_strings.front (); + args_as_strings.pop (); int n = s.length ();