Use std::filesystem::path and u8string to ensure UTF-8 is used for paths on Windows

This commit is contained in:
Yousef Khadadeh 2025-11-21 08:35:47 +03:00
parent 5f4bc6e1cb
commit 6839e529c1
10 changed files with 59 additions and 60 deletions

View file

@ -113,9 +113,9 @@ struct InputManager {
} text;
struct DroppedItem {
bool isFile;
Vector2f pos;
std::string droppedData;
std::optional<std::string> dataText;
std::optional<std::filesystem::path> dataPath;
};
#ifdef __APPLE__