From 60d029980c919e8299304231f9a3c0847a35f9f1 Mon Sep 17 00:00:00 2001 From: avenjamin Date: Fri, 27 Feb 2009 02:08:29 +0000 Subject: - Removed unnecessary code block. - Added 10.4 (Tiger) support for varchar/char length limits Related to Issue #170 --- Source/SPDataCellFormatter.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Source/SPDataCellFormatter.h') diff --git a/Source/SPDataCellFormatter.h b/Source/SPDataCellFormatter.h index 8784898a..8c62d83a 100644 --- a/Source/SPDataCellFormatter.h +++ b/Source/SPDataCellFormatter.h @@ -25,9 +25,14 @@ @interface SPDataCellFormatter : NSFormatter { - NSUInteger textLimit; + int textLimit; } -@property NSUInteger textLimit; +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 + @property int textLimit; +#else + -(int)textLimit; + -(void)setTextLimit:(int)limit; +#endif @end -- cgit v1.2.3