40159
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 01cfb58..73d1f0a 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
@@ -934,6 +934,7 @@
  */
 public void remove (int start, int end) {
 	checkWidget();
+	if (start > end) return;
 	if (!(0 <= start && start <= end && end < items.length)) {
 		error (SWT.ERROR_INVALID_RANGE);
 	}
@@ -1097,7 +1098,7 @@
 public void setItem (int index, String string) {
 	checkWidget();
 	if (string == null) error (SWT.ERROR_NULL_ARGUMENT);
-	if (!(0 <= index && index <= items.length)) {
+	if (!(0 <= index && index < items.length)) {
 		error (SWT.ERROR_INVALID_ARGUMENT);
 	}
 	items [index] = string;