From d8ac226a00c3cbf93c22ee66e4d522e8318c19bf Mon Sep 17 00:00:00 2001 From: YellowCat98 Date: Wed, 15 May 2024 12:23:31 +0100 Subject: [PATCH] come on bro --- src/test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test.cpp b/src/test.cpp index 9e021dd..ba4ae0e 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -9,8 +9,8 @@ class $modify(MenuLayer) { void onMoreGames(CCObject*) { std::string iOSVersionStr = iGeodeLib::iOSVersion(); - const char* iOSVersion = iOSVersionStr.c_str(); + std::string iOSVersion = "You are running iOS" + iOSVersionStr; - FLAlertLayer::create("Hello", ("you are running ios" + iOSVersion).c_str(), "idc")->show(); + FLAlertLayer::create("Hello", iOSVersion.c_str(), "idc")->show(); } }; \ No newline at end of file