From 04db376a0b98124eb02735a721b114e186414552 Mon Sep 17 00:00:00 2001 From: Aethor Date: Fri, 2 Jun 2017 15:26:14 +0200 Subject: [PATCH] ??? --- fish_shell/fish_globbing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish_shell/fish_globbing.c b/fish_shell/fish_globbing.c index cea748e..6461877 100644 --- a/fish_shell/fish_globbing.c +++ b/fish_shell/fish_globbing.c @@ -116,7 +116,7 @@ void recursiveExpandWord(char* path, WordList* listToExpand){ if(foundFiles->size > 0){ tempElement = foundFiles->first; - char* concatenedEndOfPath = concatWordListToWord(pathToList, indexToExpand + 1, foundFiles->size - 1); + char* concatenedEndOfPath = concatWordListToWord(pathToList, indexToExpand + 1, pathToList->size - 1); printf("list to be concatened is : \n"); printWordList(pathToList); printf("concatenedEndOfPath is : %s\n", concatenedEndOfPath);