Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/IME.d @ 112:9f4c18c268b2
Update to compile and execute with dmd 2.052.
author | kntroh |
---|---|
date | Wed, 16 Mar 2011 21:53:53 +0900 |
parents | 6dd524f61e62 |
children | 536e43f63c81 |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/IME.d Sat Nov 13 14:15:51 2010 +0100 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/IME.d Wed Mar 16 21:53:53 2011 +0900 @@ -410,7 +410,7 @@ dchar c = chars[ i .. $ ].firstCodePoint(); display.lastAscii = c; event = new Event (); - event.character = c; + event.character = cast(wchar) c; parent.sendEvent (SWT.KeyDown, event); } }