diff options
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 8786e7949..dc70a0ae9 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -1449,6 +1449,8 @@ void ScintillaCocoa::StartDrag() { // Prepare drag image. NSRect selectionRectangle = PRectangleToNSRect(rcSel); + if (NSIsEmptyRect(selectionRectangle)) + return; SCIContentView *content = ContentView(); |