Mercurial > projects > dwt2
diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/Text.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 |
line wrap: on
line diff
--- a/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/Text.d Wed Mar 16 21:53:53 2011 +0900 +++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/Text.d Wed Apr 06 21:57:23 2011 +0200 @@ -711,7 +711,7 @@ checkWidget (); if ((style & SWT.SINGLE) !is 0) { if (!OS.gtk_entry_get_visibility (cast(GtkEntry*)handle)) { - return OS.gtk_entry_get_invisible_char (cast(GtkEntry*)handle); + return cast(char) OS.gtk_entry_get_invisible_char (cast(GtkEntry*)handle); } } return '\0';