diff options
author | Veronika Irvine <veronika> | 2006-04-18 21:30:22 +0000 |
---|---|---|
committer | Veronika Irvine <veronika> | 2006-04-18 21:30:22 +0000 |
commit | 89c5e345fc8cc6277e73a276f7513638802da079 (patch) | |
tree | 8462c300e7c3fc9c224eb0a4376ae3dc97c16eed /bundles/org.eclipse.swt/Eclipse SWT Drag and Drop | |
parent | 94eca708710e7f0e16144697653aeb4db6c9e562 (diff) | |
download | eclipse.platform.swt-89c5e345fc8cc6277e73a276f7513638802da079.tar.gz eclipse.platform.swt-89c5e345fc8cc6277e73a276f7513638802da079.tar.xz eclipse.platform.swt-89c5e345fc8cc6277e73a276f7513638802da079.zip |
start at 0 not 2
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Drag and Drop')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/StyledTextDragAndDropEffect.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/StyledTextDragAndDropEffect.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/StyledTextDragAndDropEffect.java index 146f45d31d..14ee25b286 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/StyledTextDragAndDropEffect.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/StyledTextDragAndDropEffect.java @@ -43,7 +43,7 @@ void showDropTargetEffect(int effect, int x, int y) { } } else { try { - int startOffset = text.getOffsetAtLocation(new Point(2, pt.y)); + int startOffset = text.getOffsetAtLocation(new Point(0, pt.y)); int endOffset = maxOffset; int line = text.getLineAtOffset(startOffset); int lineCount = text.getLineCount(); |