diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-10 01:37:30 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-10 01:37:30 -0800 |
commit | d975187433ed71120d603ab2815d11b9c80ae8be (patch) | |
tree | 790a1644dfb643b06bdd9b04d009bf5023141c33 /builtin_set.cpp | |
parent | 910863e9ea5e1a4db192b5be1630d125cff18485 (diff) |
Removed some al_list functions
Diffstat (limited to 'builtin_set.cpp')
-rw-r--r-- | builtin_set.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin_set.cpp b/builtin_set.cpp index 4ac6e92e..f316ce4a 100644 --- a/builtin_set.cpp +++ b/builtin_set.cpp @@ -273,7 +273,7 @@ static int update_values( wcstring_list_t &list, { /* The '- 1' below is because the indices in fish are - one-based, but the array_list_t uses zero-based indices + one-based, but the vector uses zero-based indices */ long ind = indexes[i] - 1; const wcstring newv = values[ i ]; @@ -592,7 +592,7 @@ static int builtin_set( parser_t &parser, wchar_t **argv ) // al_init( &indexes ); env_var_t dest_str = env_get_string(dest); if (! dest_str.missing()) - tokenize_variable_array2( dest_str, result ); + tokenize_variable_array( dest_str, result ); if( !parse_index( indexes, arg, dest, result.size() ) ) { @@ -706,7 +706,7 @@ static int builtin_set( parser_t &parser, wchar_t **argv ) const env_var_t dest_str = env_get_string(dest); if (! dest_str.missing()) - tokenize_variable_array2( dest_str, result ); + tokenize_variable_array( dest_str, result ); for( ; woptind<argc; woptind++ ) { |