Mercurial > projects > dwt-win
diff dwt/widgets/Spinner.d @ 66:774d936d1380
TabFolder, TabItem
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 04 Feb 2008 16:26:54 +0100 |
parents | 66203354c9d3 |
children | 205350493476 |
line wrap: on
line diff
--- a/dwt/widgets/Spinner.d Mon Feb 04 15:39:21 2008 +0100 +++ b/dwt/widgets/Spinner.d Mon Feb 04 16:26:54 2008 +0100 @@ -1047,7 +1047,7 @@ char[] decimalSeparator = getDecimalSeparator (); index = string.indexOf (decimalSeparator); if (index !is -1) { - string = string[0 .. index] ~ string[ index + 1 .. $ ]; + string = string.substring (0, index) ~ string.substring (index + 1); } index = 0; }