From 787dbdc988bb62c63f9fd01d42d4f5c0fa00bdfd Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Tue, 27 Oct 2009 14:29:13 +0000 Subject: Fix incorrectly named preference constant. --- Source/SPConstants.h | 2 +- Source/SPConstants.m | 2 +- Source/TableDocument.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/SPConstants.h b/Source/SPConstants.h index 420d1823..4830351c 100644 --- a/Source/SPConstants.h +++ b/Source/SPConstants.h @@ -90,7 +90,7 @@ extern NSString *SPConsoleEnableLogging; extern NSString *SPConsoleEnableInterfaceLogging; extern NSString *SPConsoleEnableCustomQueryLogging; extern NSString *SPConsoleEnableImportExportLogging; -extern NSString *SPEnableErrorLogging; +extern NSString *SPConsoleEnableErrorLogging; extern NSString *SPConsoleShowTimestamps; extern NSString *SPConsoleShowSelectsAndShows; extern NSString *SPConsoleShowHelps; diff --git a/Source/SPConstants.m b/Source/SPConstants.m index 91ae17b1..39d0d705 100644 --- a/Source/SPConstants.m +++ b/Source/SPConstants.m @@ -73,7 +73,7 @@ NSString *SPConsoleEnableLogging = @"ConsoleEnableLogging"; NSString *SPConsoleEnableInterfaceLogging = @"ConsoleEnableInterfaceLogging"; NSString *SPConsoleEnableCustomQueryLogging = @"ConsoleEnableCustomQueryLogging"; NSString *SPConsoleEnableImportExportLogging = @"ConsoleEnableImportExportLogging"; -NSString *SPEnableErrorLogging = @"EnableErrorLogging"; +NSString *SPConsoleEnableErrorLogging = @"ConsoleEnableErrorLogging"; NSString *SPConsoleShowTimestamps = @"ConsoleShowTimestamps"; NSString *SPConsoleShowSelectsAndShows = @"ConsoleShowSelectsAndShows"; NSString *SPConsoleShowHelps = @"ConsoleShowHelps"; diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 21e12919..ed5f86a6 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -3377,7 +3377,7 @@ */ - (void)queryGaveError:(NSString *)error connection:(id)connection { - if ([prefs boolForKey:SPConsoleEnableLogging] && [prefs boolForKey:SPEnableErrorLogging]) { + if ([prefs boolForKey:SPConsoleEnableLogging] && [prefs boolForKey:SPConsoleEnableErrorLogging]) { [[SPQueryController sharedQueryController] showErrorInConsole:error]; } } -- cgit v1.2.3