aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.mm
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-rw-r--r--cocoa/ScintillaCocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm
index c0667cf4e..196ae28e4 100644
--- a/cocoa/ScintillaCocoa.mm
+++ b/cocoa/ScintillaCocoa.mm
@@ -1672,7 +1672,7 @@ int ScintillaCocoa::InsertText(NSString* input)
AddCharUTF((char*) buffer, usedLen, false);
delete []buffer;
- return true;
+ return usedLen;
}
//--------------------------------------------------------------------------------------------------