Cleanups for the Mac error dialog, after a code review from tma.
- Don't expose the function in sys_local.h (it would be static if we could). - Don't call it Sys_Cocoa_*; it'd be nonsense with q3a's naming conventions.
This commit is contained in:
parent
083bd1b005
commit
5ffb45c79f
3 changed files with 4 additions and 3 deletions
|
@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
void Sys_Cocoa_MsgBox( const char *text )
|
||||
void Cocoa_MsgBox( const char *text )
|
||||
{
|
||||
NSRunInformationalAlertPanel(@"ioquake3",
|
||||
[NSString stringWithUTF8String:text],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue