Mercurial > projects > dynamin
diff dynamin/gui/windows_folder_dialog.d @ 106:acdbb30fee7e
Port to D2.
Most of the effort was dealing with immutable and const.
author | Jordan Miner <jminer7@gmail.com> |
---|---|
date | Mon, 17 Dec 2012 23:41:50 -0600 |
parents | 73060bc3f004 |
children |
line wrap: on
line diff
--- a/dynamin/gui/windows_folder_dialog.d Sat Nov 24 10:21:50 2012 -0600 +++ b/dynamin/gui/windows_folder_dialog.d Mon Dec 17 23:41:50 2012 -0600 @@ -50,7 +50,7 @@ } break; } - _folder = Utf.toString(dirBuffer[0..index]); + _folder = cast(immutable)Utf.toString(dirBuffer[0..index]); return DialogResult.OK; } }