mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix windows build
This commit is contained in:
parent
8a12ff5879
commit
94bae83de6
4 changed files with 10 additions and 12 deletions
|
|
@ -98,10 +98,8 @@ io::path EnginePaths::getNewScreenshotFile(const std::string& ext) {
|
|||
auto file = folder / ("screenshot-" + datetimestr + "." + ext);
|
||||
uint index = 0;
|
||||
while (io::exists(file)) {
|
||||
file = folder / fs::u8path(
|
||||
"screenshot-" + datetimestr + "-" +
|
||||
std::to_string(index) + "." + ext
|
||||
);
|
||||
file = folder / ("screenshot-" + datetimestr + "-" +
|
||||
std::to_string(index) + "." + ext);
|
||||
index++;
|
||||
}
|
||||
return file;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue