Fix shell tab-completion PATH parsing.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-02-16 16:34:05 +01:00
parent d511bfb75b
commit 3bef590a0f
1 changed files with 1 additions and 1 deletions

View File

@ -1804,7 +1804,7 @@ size_t do_complete(char*** completions_ptr,
char* path_input = path;
char* saved_ptr;
char* component;
while ( (component = strtok_r(path_input, " ", &saved_ptr)) )
while ( (component = strtok_r(path_input, ":", &saved_ptr)) )
{
if ( DIR* dir = opendir(component) )
{