Mercurial > projects > dwt2
diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/custom/StyledText.d @ 113:fb3aa8075988
D2 support for the linux port.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 06 Apr 2011 21:57:23 +0200 |
parents | c01d033c633a |
children | 536e43f63c81 |
line wrap: on
line diff
--- a/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/custom/StyledText.d Wed Mar 16 21:53:53 2011 +0900 +++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/custom/StyledText.d Wed Apr 06 21:57:23 2011 +0200 @@ -7295,14 +7295,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);