1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-15 22:19:07 +00:00

Merge pull request #3 from MaddTheSane/master

OS X: Indentation and syntax
This commit is contained in:
fgenesis 2013-11-19 09:57:13 -08:00
commit 9ba8e21467

View file

@ -12,9 +12,9 @@
void cocoaMessageBox(const std::string &title, const std::string &msg)
{
@autoreleasepool {
NSString *nstitle = [NSString stringWithUTF8String:title.c_str()];
NSString *nsmsg = [NSString stringWithUTF8String: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);
}
}