mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-02-13 16:16:08 +00:00
Fix a security warning on OS X.
This commit is contained in:
parent
74c2c0fec2
commit
45185dee33
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ 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);
|
||||
NSRunAlertPanel(nstitle, @"%@", nil, nil, nil, nsmsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue