summaryrefslogtreecommitdiff
path: root/arrayfunc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arrayfunc.c')
-rw-r--r--arrayfunc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arrayfunc.c b/arrayfunc.c
index 3bdd54f..76116bc 100644
--- a/arrayfunc.c
+++ b/arrayfunc.c
@@ -592,11 +592,7 @@ array_expand_index (s, len)
exp = (char *)xmalloc (len);
strncpy (exp, s, len - 1);
exp[len - 1] = '\0';
-#if 0
- t = expand_string_to_string (exp, 0);
-#else
- t = expand_string_to_string (exp, Q_DOUBLE_QUOTES);
-#endif
+ t = expand_arith_string (exp, 0);
this_command_name = (char *)NULL;
val = evalexp (t, &expok);
free (t);