aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDataCellFormatter.h
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2009-02-27 02:08:29 +0000
committeravenjamin <avenjamin@gmail.com>2009-02-27 02:08:29 +0000
commit60d029980c919e8299304231f9a3c0847a35f9f1 (patch)
tree753f5190ed39f2e03e626a106a4a3502b7dfbd6c /Source/SPDataCellFormatter.h
parent51b094e48b68420cd53be08648eab7b671ce1639 (diff)
downloadsequelpro-60d029980c919e8299304231f9a3c0847a35f9f1.tar.gz
sequelpro-60d029980c919e8299304231f9a3c0847a35f9f1.tar.bz2
sequelpro-60d029980c919e8299304231f9a3c0847a35f9f1.zip
- Removed unnecessary code block.
- Added 10.4 (Tiger) support for varchar/char length limits Related to Issue #170
Diffstat (limited to 'Source/SPDataCellFormatter.h')
-rw-r--r--Source/SPDataCellFormatter.h9
1 files changed, 7 insertions, 2 deletions
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