mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-19 05:30:04 +00:00
(svn r2745) -Fix: [OSX] removed the assert window introduced in 2741 from strgen
- it appeared to cause problems and strgen don't need a GUI - renamed ottd to openttd in the app menu (Tobin)
This commit is contained in:
parent
79292d193e
commit
30a5f299f8
@ -31,7 +31,7 @@ echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>ottd</string>
|
||||
<string>OpenTTD</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
|
3
stdafx.h
3
stdafx.h
@ -24,7 +24,8 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
// MacOS X will use an NSAlert to display failed assertaions since they're lost unless running from a terminal
|
||||
#if !defined(__APPLE__)
|
||||
// strgen always runs from terminal and don't need a window for asserts
|
||||
#if !defined(__APPLE__) || defined(STRGEN)
|
||||
#include <assert.h>
|
||||
#else
|
||||
#include "os/macosx/macos.h"
|
||||
|
Loading…
Reference in New Issue
Block a user