Changeset 237:e2affbeb686d for dwt/internal/BidiUtil.d
- Timestamp:
- 06/18/08 21:25:36 (7 months ago)
- Files:
-
- dwt/internal/BidiUtil.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/internal/BidiUtil.d
r213 r237 194 194 auto lpOrder = result.lpOrder = cast(uint*)OS.HeapAlloc(hHeap, OS.HEAP_ZERO_MEMORY, byteCount * 4); 195 195 auto lpDx = result.lpDx = cast(int*)OS.HeapAlloc(hHeap, OS.HEAP_ZERO_MEMORY, byteCount * 4); 196 auto lpClass = result.lpClass = cast( char*)OS.HeapAlloc(hHeap, OS.HEAP_ZERO_MEMORY, byteCount);196 auto lpClass = result.lpClass = cast(CHAR*)OS.HeapAlloc(hHeap, OS.HEAP_ZERO_MEMORY, byteCount); 197 197 auto lpGlyphs = result.lpGlyphs = cast(wchar*)OS.HeapAlloc(hHeap, OS.HEAP_ZERO_MEMORY, byteCount * 2); 198 198 … … 324 324 result.nGlyphs = byteCount; 325 325 auto lpOrder = result.lpOrder = cast(uint*) OS.HeapAlloc(hHeap, OS.HEAP_ZERO_MEMORY, byteCount * 4); 326 auto lpClass = result.lpClass = cast( char*) OS.HeapAlloc(hHeap, OS.HEAP_ZERO_MEMORY, byteCount);326 auto lpClass = result.lpClass = cast(CHAR*) OS.HeapAlloc(hHeap, OS.HEAP_ZERO_MEMORY, byteCount); 327 327 328 328 // set required dwFlags, these values will affect how the text gets rendered and
