mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2025-02-28 15:30:32 +01:00
Use .string() before passing path to nowide::ofstream ??? is this even the right thing to do omg fuck windows and its wide encoding bs
This commit is contained in:
parent
ade7544a85
commit
a8842a8efa
@ -1553,7 +1553,7 @@ TimingOrigin EditorState::timing_origin() {
|
||||
|
||||
void EditorState::save(const std::filesystem::path& path) {
|
||||
const auto memon = song.dump_to_memon_1_0_0();
|
||||
nowide::ofstream file{path};
|
||||
nowide::ofstream file{path.string()};
|
||||
if (not file) {
|
||||
throw std::runtime_error(
|
||||
fmt::format("Cannot write to file {}", path.string())
|
||||
|
Loading…
x
Reference in New Issue
Block a user