Codechange: use std::string for FiosIsRoot

This commit is contained in:
Rubidium
2023-05-30 22:37:33 +02:00
committed by rubidium42
parent 13789d1703
commit f2e704b9a7
4 changed files with 8 additions and 8 deletions

View File

@@ -57,9 +57,9 @@
#include "../../safeguards.h"
bool FiosIsRoot(const char *path)
bool FiosIsRoot(const std::string &path)
{
return path[1] == '\0';
return path == PATHSEP;
}
void FiosGetDrives(FileList &file_list)