aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/SPTextViewAdditions.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTextViewAdditions.m b/Source/SPTextViewAdditions.m
index c7491215..885e51df 100644
--- a/Source/SPTextViewAdditions.m
+++ b/Source/SPTextViewAdditions.m
@@ -240,7 +240,7 @@
if(!curRange.length)
@try // caret is in between two chars
{
- if(curRange.location+1 >= [[self string] length])
+ if(curRange.location+1 > [[self string] length])
{
// caret is at the end of a text field
// transpose last two characters