From cf4afd2cb89ffd948aefb67cf0abce748d0dd399 Mon Sep 17 00:00:00 2001 From: Timur Doumler Date: Mon, 14 Mar 2016 12:31:53 +0000 Subject: [PATCH] Introjucer bugfix: don't write orientation flag into the jucer file if the exporter is OS X. --- .../Source/Project Saving/jucer_ProjectExport_XCode.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h b/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h index d785ae2928..39e6019a01 100644 --- a/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h +++ b/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h @@ -56,8 +56,11 @@ public: initialiseDependencyPathValues(); - if (getScreenOrientationValue().toString().isEmpty()) - getScreenOrientationValue() = "portraitlandscape"; + if (iOS) + { + if (getScreenOrientationValue().toString().isEmpty()) + getScreenOrientationValue() = "portraitlandscape"; + } } static XCodeProjectExporter* createForSettings (Project& project, const ValueTree& settings)