diff options
author | bjarni <bjarni@openttd.org> | 2005-07-29 09:45:25 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2005-07-29 09:45:25 +0000 |
commit | 6488c2cba06dcff8c503db307488f79d8b0468be (patch) | |
tree | e8c04b322d808aabc55aa97dc2999e111e28df6f | |
parent | 7f3ed35dd475c15dbe54bc5e6203613cf78764d0 (diff) | |
download | openttd-6488c2cba06dcff8c503db307488f79d8b0468be.tar.xz |
(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)
-rwxr-xr-x | os/macosx/plistgen.sh | 2 | ||||
-rw-r--r-- | stdafx.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/os/macosx/plistgen.sh b/os/macosx/plistgen.sh index 237901eb8..51059d331 100755 --- a/os/macosx/plistgen.sh +++ b/os/macosx/plistgen.sh @@ -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> @@ -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" |