mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-06 19:50:22 +00:00
Merge pull request #437 from a740g/main
This commit is contained in:
commit
8918ab8268
|
@ -792,6 +792,9 @@ void sub_files(qbs *str, int32_t passed) {
|
||||||
} else {
|
} else {
|
||||||
std::string d;
|
std::string d;
|
||||||
filepath_split(fileSpec, d, pathName);
|
filepath_split(fileSpec, d, pathName);
|
||||||
|
if (d.empty())
|
||||||
|
d = "./"; // default to the current directory if one is not specified
|
||||||
|
|
||||||
directory = FS_GetFQN(d.c_str());
|
directory = FS_GetFQN(d.c_str());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue