Changeset 171
- Timestamp:
- 04/07/08 03:57:16 (9 months ago)
- Files:
-
- trunk/sys/win32/CodePage.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/sys/win32/CodePage.d
r154 r171 94 94 95 95 96 /** 97 added for use with SHFILEOPSTRUCTW 98 */ 99 wchar* toString16zz(wchar[] input) 100 { 101 if (input.ptr) 102 if ( !(input.length > 1 && input[$-1] is 0 && input[$-2] is 0) ) 103 input = input ~ "\0\0"w; 104 return input.ptr; 105 } 106 107 wchar* toString16zz(dchar[] input) 108 { 109 return toString16zz( toString16(input) ); 110 } 111 112 wchar* toString16zz(char[] input) 113 { 114 return toString16zz( toString16(input) ); 115 } 116 // 117 118 96 119 /+ 97 120 ////////////////////////////////////////////////////////////////////////////////
