Commit d970d9f
committed
Use MCAutoStringRefAsLPWSTR where mutable buffer may be required
Some Win32 APIs take a `LPWSTR` rather than a `LPCWSTR` argument.
Ensure that if (for some reason) they try to mutate the buffer that
they're passed, it doesn't affect the original LiveCode string.1 parent 553aeb7 commit d970d9f
3 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2821 | 2821 | | |
2822 | 2822 | | |
2823 | 2823 | | |
2824 | | - | |
| 2824 | + | |
2825 | 2825 | | |
2826 | 2826 | | |
2827 | 2827 | | |
| |||
3092 | 3092 | | |
3093 | 3093 | | |
3094 | 3094 | | |
3095 | | - | |
| 3095 | + | |
3096 | 3096 | | |
3097 | 3097 | | |
3098 | 3098 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
| 453 | + | |
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| |||
0 commit comments