1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-06-08 17:42:05 +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) void cocoaMessageBox(const std::string &title, const std::string &msg)
{ {
@autoreleasepool { @autoreleasepool {
NSString *nstitle = [NSString stringWithUTF8String:title.c_str()]; NSString *nstitle = @(title.c_str());
NSString *nsmsg = [NSString stringWithUTF8String:msg.c_str()]; NSString *nsmsg = @(msg.c_str());
NSRunAlertPanel(nstitle, nsmsg, nil, nil, nil); NSRunAlertPanel(nstitle, nsmsg, nil, nil, nil);
} }
} }