diff --git a/BBGE/Cocoa.mm b/BBGE/Cocoa.mm index ba10481..693a809 100644 --- a/BBGE/Cocoa.mm +++ b/BBGE/Cocoa.mm @@ -12,9 +12,9 @@ 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); + NSString *nstitle = @(title.c_str()); + NSString *nsmsg = @(msg.c_str()); + NSRunAlertPanel(nstitle, nsmsg, nil, nil, nil); } }