From 30a5f299f8a54ca8dffeb31c41de0b474ecc7aed Mon Sep 17 00:00:00 2001 From: bjarni Date: Fri, 29 Jul 2005 09:45:25 +0000 Subject: (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) --- os/macosx/plistgen.sh | 2 +- 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 " CFBundleInfoDictionaryVersion 6.0 CFBundleName - ottd + OpenTTD CFBundlePackageType APPL CFBundleShortVersionString diff --git a/stdafx.h b/stdafx.h index da8f1e88b..b085d18f8 100644 --- a/stdafx.h +++ b/stdafx.h @@ -24,7 +24,8 @@ #include // 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 #else #include "os/macosx/macos.h" -- cgit v1.2.3-70-g09d2