From d59d73db24aa8c2c5d8138a20e8668e3d534e7d4 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Mon, 6 May 2013 19:34:12 +0000 Subject: - 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 --- Source/SPDataAdditions.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/SPDataAdditions.m') 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; -- cgit v1.2.3