diff options
Diffstat (limited to 'bundles/org.eclipse.swt')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java index 6589c9e6a6..56021160f1 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java @@ -1660,7 +1660,7 @@ public void remove (int start, int end) { if (start <= index && index <= end) clearText(); for (int i = end; i >= start; i--) { if (OS.GTK3) { - OS.gtk_combo_box_text_remove(handle, index); + OS.gtk_combo_box_text_remove(handle, i); } else { OS.gtk_combo_box_remove_text (handle, i); } |