Skip to content

Commit

Permalink
Update fileSystem.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiLko authored Feb 8, 2024
1 parent f7628ae commit 784f5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fileSystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class macroCell : public CCNode {

void handleDelete(CCObject* btn) {
std::string path = Mod::get()->getSaveDir().string()
+"\\"+static_cast<CCMenuItemSpriteExtra*>(btn)->getID() + ".xd";
+"/"+static_cast<CCMenuItemSpriteExtra*>(btn)->getID() + ".xd";

std::wstring_convert<std::codecvt_utf8<wchar_t>> converter;
std::wstring wideString = converter.from_bytes(path);
Expand Down

0 comments on commit 784f5d8

Please sign in to comment.