mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-06-08 09:31:58 +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,8 +12,8 @@
|
|||
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()];
|
||||
NSString *nstitle = @(title.c_str());
|
||||
NSString *nsmsg = @(msg.c_str());
|
||||
NSRunAlertPanel(nstitle, nsmsg, nil, nil, nil);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue