Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich2011-06-29 14:50:48 +0000
committerFelipe Heidrich2011-06-29 14:50:48 +0000
commit35a6db8f1a0affd19e11b6bca2f0137618d397f6 (patch)
tree98dbbe3614a02c6fb6087836d83052cebb2428e3
parenta662e410f76ecc0b2208caa45340c99b3e942f8d (diff)
downloadeclipse.platform.swt-35a6db8f1a0affd19e11b6bca2f0137618d397f6.tar.gz
eclipse.platform.swt-35a6db8f1a0affd19e11b6bca2f0137618d397f6.tar.xz
eclipse.platform.swt-35a6db8f1a0affd19e11b6bca2f0137618d397f6.zip
refactoring: changed to use constant name instead of number in switch statment
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java
index 7cc26aa0c0..54cba35304 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java
@@ -630,7 +630,7 @@ static void unsubclass(int /*long*/ hwnd) {
static int /*long*/ windowProc (int /*long*/ hwnd, int /*long*/ msg, int /*long*/ wParam, int /*long*/ lParam) {
LONG key = new LONG (hwnd);
switch ((int)/*64*/msg) {
- case 0x51 /*OS.WM_INPUTLANGCHANGE*/:
+ case OS.WM_INPUTLANGCHANGE:
Runnable runnable = (Runnable) languageMap.get (key);
if (runnable != null) runnable.run ();
break;

Back to the top