diff --git a/BBGE/Cocoa.mm b/BBGE/Cocoa.mm index 693a809..a65a0ea 100644 --- a/BBGE/Cocoa.mm +++ b/BBGE/Cocoa.mm @@ -14,7 +14,7 @@ void cocoaMessageBox(const std::string &title, const std::string &msg) @autoreleasepool { NSString *nstitle = @(title.c_str()); NSString *nsmsg = @(msg.c_str()); - NSRunAlertPanel(nstitle, nsmsg, nil, nil, nil); + NSRunAlertPanel(nstitle, @"%@", nil, nil, nil, nsmsg); } }