Mercurial > projects > dynamin
comparison 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 |
comparison
equal
deleted
inserted
replaced
105:97997a544ac0 | 106:acdbb30fee7e |
---|---|
48 dirBuffer[i] = '\\'; | 48 dirBuffer[i] = '\\'; |
49 index++; | 49 index++; |
50 } | 50 } |
51 break; | 51 break; |
52 } | 52 } |
53 _folder = Utf.toString(dirBuffer[0..index]); | 53 _folder = cast(immutable)Utf.toString(dirBuffer[0..index]); |
54 return DialogResult.OK; | 54 return DialogResult.OK; |
55 } | 55 } |
56 } | 56 } |
57 | 57 |