aboutsummaryrefslogtreecommitdiffstats
path: root/command.y
diff options
context:
space:
mode:
Diffstat (limited to 'command.y')
-rw-r--r--command.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.y b/command.y
index 18980d38..b43f54bb 100644
--- a/command.y
+++ b/command.y
@@ -1697,7 +1697,7 @@ variable_generator(const char *text, int state)
idx = 0;
break;
}
- name = func->fparms[idx++].param;
+ name = func->fparms[idx++]->param;
if (strncmp(name, text, textlen) == 0)
return estrdup(name, strlen(name));
}