Commit 4bf9592
utils: Use u8path to fix possible string conversion crashes on Windows
All other path operations in the code base already use u8path to ensure
that the strings provided by libobs (which will either be ASCII or
UTF-8 byte sequences) are correctly converted into UTF-16 strings.1 parent d957b27 commit 4bf9592
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
| 199 | + | |
198 | 200 | | |
| 201 | + | |
199 | 202 | | |
200 | | - | |
201 | 203 | | |
202 | 204 | | |
203 | 205 | | |
| |||
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
210 | | - | |
| 212 | + | |
211 | 213 | | |
212 | 214 | | |
213 | 215 | | |
| |||
0 commit comments