From 624244dd35a6ca2e7942fbadbcaea756367b3453 Mon Sep 17 00:00:00 2001 From: sqlprodev Date: Thu, 14 Feb 2013 21:08:13 +0000 Subject: Fix build error with synthesized property affecting only release build of Coda --- Source/SPDatabaseDocument.h | 2 +- Source/SPDatabaseDocument.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/SPDatabaseDocument.h b/Source/SPDatabaseDocument.h index 05dd8639..1b7bc68a 100644 --- a/Source/SPDatabaseDocument.h +++ b/Source/SPDatabaseDocument.h @@ -68,7 +68,7 @@ { #ifdef SP_CODA /* patch */ id delegate; - BottomBarSegmentedControl* _structureContentSwitcher; + BottomBarSegmentedControl* structureContentSwitcher; #endif // IBOutlets diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index 108fc40c..577306ae 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -3617,7 +3617,7 @@ static NSString *SPRenameDatabaseAction = @"SPRenameDatabase"; #ifndef SP_CODA return [[self selectedToolbarItemIdentifier] isEqualToString:SPMainToolbarCustomQuery]; #else - return ([_structureContentSwitcher selectedSegment] == 2); + return ([structureContentSwitcher selectedSegment] == 2); #endif } -- cgit v1.2.3