diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/custom/StyledText.d @ 112:9f4c18c268b2

Update to compile and execute with dmd 2.052.
author kntroh
date Wed, 16 Mar 2011 21:53:53 +0900
parents b98647bc0aef
children 536e43f63c81
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/custom/StyledText.d	Sat Nov 13 14:15:51 2010 +0100
+++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/custom/StyledText.d	Wed Mar 16 21:53:53 2011 +0900
@@ -7284,14 +7284,14 @@
     if (Compatibility.isLetter(keyChar)) {
         // make the keybinding case insensitive by adding it
         // in its upper and lower case form
-        char ch = CharacterToUpper(keyChar);
+        char ch = cast(char) CharacterToUpper(keyChar);
         int newKey = ch | modifierValue;
         if (action is SWT.NULL) {
             keyActionMap.remove(newKey);
         } else {
             keyActionMap[newKey] = action;
         }
-        ch = CharacterToLower(keyChar);
+        ch = cast(char) CharacterToLower(keyChar);
         newKey = ch | modifierValue;
         if (action is SWT.NULL) {
             keyActionMap.remove(newKey);