Mercurial > projects > dwt-linux
changeset 196:ed84552892d2
fixed ArrayBoundsException in List.d
author | Jesse Phillips <Jesse.K.Phillips+D@gmail.com> |
---|---|
date | Wed, 05 Mar 2008 16:57:05 -0800 |
parents | cf2672c3e4fb |
children | e2846bbf2256 |
files | dwt/widgets/Link.d dwt/widgets/List.d |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dwt/widgets/Link.d Tue Mar 04 20:02:45 2008 +0100 +++ b/dwt/widgets/Link.d Wed Mar 05 16:57:05 2008 -0800 @@ -40,7 +40,7 @@ import dwt.widgets.TypedListener; import dwt.widgets.Event; -import tango.text.Text; +static import tango.text.Text; import tango.text.Unicode; alias tango.text.Text.Text!(char) Text8;
--- a/dwt/widgets/List.d Tue Mar 04 20:02:45 2008 +0100 +++ b/dwt/widgets/List.d Wed Mar 05 16:57:05 2008 -0800 @@ -676,7 +676,7 @@ auto data = OS.g_list_nth_data (list, i); auto indices = OS.gtk_tree_path_get_indices (data); if (indices !is null) { - treeSelection [length] = indices [0]; + treeSelection [len] = indices [0]; len++; } }