Commit 9c91fd9
authored
in_wstr() searched the result for a terminating null, but winnwstr()
writes one only if it stored at least one character. Use the number of
characters it returns as the length.
1 parent 6af6165 commit 9c91fd9
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
525 | 531 | | |
526 | 532 | | |
527 | 533 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3956 | 3956 | | |
3957 | 3957 | | |
3958 | 3958 | | |
3959 | | - | |
| 3959 | + | |
3960 | 3960 | | |
3961 | 3961 | | |
3962 | 3962 | | |
| |||
0 commit comments