mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-27 23:35:51 +00:00
Merge pull request #3 from MaddTheSane/master
OS X: Indentation and syntax
This commit is contained in:
commit
9ba8e21467
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue