forked from Mirrors/openclonk
C4Group: Fix FindNextEntry
The char* parametered FindNextEntry didn't pass the last found filename to its implementation, so it always found the first file matching the wildcardfloating-point
parent
6df452c5e9
commit
b332e73ba3
|
@ -247,7 +247,7 @@ public:
|
|||
size_t *iSize=NULL,
|
||||
bool fStartAtFilename=false)
|
||||
{
|
||||
StdStrBuf name;
|
||||
StdStrBuf name(sFileName);
|
||||
bool r = FindNextEntry(szWildCard, &name, iSize, fStartAtFilename);
|
||||
if(sFileName) SCopy(name.getData(),sFileName);
|
||||
return r;
|
||||
|
|
Loading…
Reference in New Issue