summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2006-07-20 13:59:37 +0000
committerGrant Gayed <ggayed>2006-07-20 13:59:37 +0000
commit4a3f9af5ae6294641a95650d44bc8f9e572af3f1 (patch)
treec6f8a8a32c1438eaf25c1cbb0100b201bbbf9444
parent580545d9c214953e6c535678f632f13afcc334d9 (diff)
downloadeclipse.platform.swt-4a3f9af5ae6294641a95650d44bc8f9e572af3f1.tar.gz
eclipse.platform.swt-4a3f9af5ae6294641a95650d44bc8f9e572af3f1.tar.xz
eclipse.platform.swt-4a3f9af5ae6294641a95650d44bc8f9e572af3f1.zip
151228
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/PromptService.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/PromptService.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/PromptService.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/PromptService.java
index 99a8845c65..0599dcd72f 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/PromptService.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/PromptService.java
@@ -226,8 +226,8 @@ public int ConfirmEx(int parent, int dialogTitle, int text, int buttonFlags, int
}
String button1Label = getLabel(buttonFlags, nsIPromptService.BUTTON_POS_0, button0Title);
- String button2Label = getLabel(buttonFlags, nsIPromptService.BUTTON_POS_1, button0Title);
- String button3Label = getLabel(buttonFlags, nsIPromptService.BUTTON_POS_2, button0Title);
+ String button2Label = getLabel(buttonFlags, nsIPromptService.BUTTON_POS_1, button1Title);
+ String button3Label = getLabel(buttonFlags, nsIPromptService.BUTTON_POS_2, button2Title);
PromptDialog dialog = new PromptDialog(browser.getShell());
int[] check = new int[1], result = new int[1];
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/PromptService.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/PromptService.java
index 781b2d6b0c..0c0bede7f7 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/PromptService.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/PromptService.java
@@ -227,8 +227,8 @@ public int /*long*/ ConfirmEx(int /*long*/ parent, int /*long*/ dialogTitle, int
}
String button1Label = getLabel((int)/*64*/buttonFlags, nsIPromptService.BUTTON_POS_0, button0Title);
- String button2Label = getLabel((int)/*64*/buttonFlags, nsIPromptService.BUTTON_POS_1, button0Title);
- String button3Label = getLabel((int)/*64*/buttonFlags, nsIPromptService.BUTTON_POS_2, button0Title);
+ String button2Label = getLabel((int)/*64*/buttonFlags, nsIPromptService.BUTTON_POS_1, button1Title);
+ String button3Label = getLabel((int)/*64*/buttonFlags, nsIPromptService.BUTTON_POS_2, button2Title);
PromptDialog dialog = new PromptDialog(browser.getShell());
int[] check = new int[1], result = new int[1];