Use std::filesystem::path and u8string to ensure UTF-8 is used for paths on Windows
This commit is contained in:
parent
5f4bc6e1cb
commit
6839e529c1
10 changed files with 59 additions and 60 deletions
|
|
@ -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__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue