aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDataAdditions.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2013-05-06 19:34:12 +0000
committerrowanbeentje <rowan@beent.je>2013-05-06 19:34:12 +0000
commitd59d73db24aa8c2c5d8138a20e8668e3d534e7d4 (patch)
tree9d9d92ae071a10dfb9d9733d13dc0e16559f0709 /Source/SPDataAdditions.m
parenteedcefc211e33ca38217977f96d8b650ff1d56ba (diff)
downloadsequelpro-d59d73db24aa8c2c5d8138a20e8668e3d534e7d4.tar.gz
sequelpro-d59d73db24aa8c2c5d8138a20e8668e3d534e7d4.tar.bz2
sequelpro-d59d73db24aa8c2c5d8138a20e8668e3d534e7d4.zip
- Fix truncation of table content BINARY values which are being edited in-place, addressing Issue #1702
- Ensure that truncation of data values includes an ellipsis to make it clear when performance-based truncation is occurring
Diffstat (limited to 'Source/SPDataAdditions.m')
-rw-r--r--Source/SPDataAdditions.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPDataAdditions.m b/Source/SPDataAdditions.m
index ab0bfb01..351ef4d8 100644
--- a/Source/SPDataAdditions.m
+++ b/Source/SPDataAdditions.m
@@ -304,7 +304,7 @@
string = @"-- cannot display --";
}
else if ([string length] > 255) {
- string = [string substringToIndex:255];
+ string = [[string substringToIndex:254] stringByAppendingString:@"…"];
}
return string;