mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
Extend .typos.toml to enforce american english (#7284)
More or less the same list we use at Rerun
This commit is contained in:
@@ -72,7 +72,7 @@ fn roaming_appdata() -> Option<PathBuf> {
|
||||
};
|
||||
|
||||
let path = if result == S_OK {
|
||||
// SAFETY: SHGetKnownFolderPath indicated success and is supposed to allocate a nullterminated string for us.
|
||||
// SAFETY: SHGetKnownFolderPath indicated success and is supposed to allocate a null-terminated string for us.
|
||||
let path_slice = unsafe { slice::from_raw_parts(path_raw, wcslen(path_raw)) };
|
||||
Some(PathBuf::from(OsString::from_wide(path_slice)))
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user