Changeset 297:7d431a32f71e
- Timestamp:
- 08/22/08 21:55:06
(3 months ago)
- Author:
- Frank Benoit <benoit@tionex.de>
- branch:
- default
- Message:
Fix: IME ole call and string processing.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r246 |
r297 |
|
| 194 | 194 | if (hr is OS.S_OK) { |
|---|
| 195 | 195 | void* pDispInfo; |
|---|
| 196 | | TF_DISPLAYATTRIBUTE* tempPda; |
|---|
| | 196 | TF_DISPLAYATTRIBUTE* tempPda = new TF_DISPLAYATTRIBUTE(); |
|---|
| 197 | 197 | /* pEnum.Next () */ |
|---|
| 198 | 198 | while ((hr = OS.VtblCall (4, pEnum, 1, cast(int) &pDispInfo, 0 )) is OS.S_OK) { |
|---|
| 199 | 199 | /* pDispInfo.GetAttributeInfo(); */ |
|---|
| 200 | | OS.VtblCall (5, pDispInfo, cast(int)&tempPda); |
|---|
| | 200 | OS.VtblCall (5, pDispInfo, cast(int)cast(void*)tempPda); |
|---|
| 201 | 201 | /* pDispInfo.Release () */ |
|---|
| 202 | 202 | OS.VtblCall (2, pDispInfo); |
|---|
| … | … | |
| 406 | 406 | display.lastKey = 0; |
|---|
| 407 | 407 | display.lastVirtual = display.lastNull = display.lastDead = false; |
|---|
| 408 | | length_ = chars.length; |
|---|
| | 408 | length_ = chars.codePointCount; |
|---|
| 409 | 409 | for (int i = 0; i < length_; i++) { |
|---|
| 410 | | char c = chars.charAt (i); |
|---|
| | 410 | dchar c = chars[ i .. $ ].firstCodePoint(); |
|---|
| 411 | 411 | display.lastAscii = c; |
|---|
| 412 | 412 | event = new Event (); |
|---|