Rolling 20220925

This commit is contained in:
jomjol
2022-09-25 19:39:10 +02:00
parent 8275bdbc25
commit d11ee2a4cf
3 changed files with 8 additions and 0 deletions

View File

@@ -305,6 +305,9 @@ string getDirectory(string filename)
{
size_t lastpos = filename.find('/');
if (lastpos == string::npos)
lastpos = filename.find('\\');
if (lastpos == string::npos)
return "";