mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Get file list from empty folder in gvfs plugin
This commit is contained in:
parent
8651576205
commit
fa87d2875b
1 changed files with 5 additions and 1 deletions
|
|
@ -1450,7 +1450,11 @@ HANDLE __stdcall FsFindFirst(char* Path,WIN32_FIND_DATAA *FindData)
|
|||
}
|
||||
VFSChangeDir(ListRec->globs, ListRec->globs->RemotePath);
|
||||
g_print("Call RemoteFindNext = %s\n", ListRec->globs->RemotePath);
|
||||
RemoteFindNext(Handle, FindData);
|
||||
if (!RemoteFindNext(Handle, FindData))
|
||||
{
|
||||
free(ListRec);
|
||||
return (HANDLE)(-1);
|
||||
}
|
||||
return Handle;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue