aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTableContentDelegate.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPTableContentDelegate.m b/Source/SPTableContentDelegate.m
index bf7aac5d..6634e29e 100644
--- a/Source/SPTableContentDelegate.m
+++ b/Source/SPTableContentDelegate.m
@@ -383,8 +383,7 @@
tmp = [tableContentView draggedRowsAsTabString];
}
-#warning code inside "if" is unreachable
- if (!tmp && [tmp length])
+ if (tmp && [tmp length])
{
[pboard declareTypes:@[NSTabularTextPboardType, NSStringPboardType] owner:nil];