summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index 061fa69..d07ea73 100644
--- a/exec.c
+++ b/exec.c
@@ -56,7 +56,7 @@ void add_expchunk(char* next_str, WordSplittingGerm* curr_res) {
StrVec expand_word(Word word, ShellState* state) {
WordSplittingGerm curr_res = {.complete_strs = make_StrVec(256), .active_str = make_String(25)};
for (int i = 0; i < word.count; i++) {
- Chunk curr_cunk = *get_from_Word(&word, i);
+ Chunk curr_cunk = **get_from_Word(&word, i);
ExpandedChunk curr_exp = expand_chunk(curr_cunk, state);
switch (curr_exp.qmode) {
case UN_Q: