File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ bool ConfirmUninstallPopup::init(Mod* mod) {
1111 this ->setTitle (fmt::format (" Uninstall {}" , mod->getName ()));
1212
1313 auto text = TextArea::create (
14- fmt::format (" Are you sure you want to \n <cr>uninstall</c> <cy>{}</c>?" , mod->getName ()),
14+ fmt::format (" Are you sure you want to \n <cr>uninstall</c> <cy>{:.100 }</c>?" , mod->getName ()),
1515 " chatFont.fnt" ,
1616 1 .f , m_size.width - 35 ,
1717 ccp (.5f , .5f ), 20 .f , false
@@ -53,14 +53,14 @@ void ConfirmUninstallPopup::onUninstall(CCObject*) {
5353 if (res) {
5454 FLAlertLayer::create (
5555 " Mod Uninstalled" ,
56- m_mod-> getName () + " has been uninstalled!" ,
56+ fmt::format ( " {:.400} has been uninstalled!" , m_mod-> getName ()) ,
5757 " OK"
5858 )->show ();
5959 }
6060 else {
6161 FLAlertLayer::create (
6262 " Error Uninstalling" ,
63- " Error uninstalling " + m_mod->getName () + " : " + res.unwrapErr (),
63+ fmt::format ( " Error uninstalling {:.400}: {} " , m_mod->getName (), res.unwrapErr () ),
6464 " OK"
6565 )->show ();
6666 }
You can’t perform that action at this time.
0 commit comments