all: fix typos (#21089)

This commit is contained in:
Turiiya 2024-03-25 11:18:27 +01:00 committed by GitHub
parent 9ad84ddc21
commit f77bb32044
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
193 changed files with 403 additions and 402 deletions

View file

@ -30,13 +30,13 @@ pub fn read_bytes_from_file(file_path string) []u8 {
$if android {
path = 'models/' + file_path
buffer = os.read_apk_asset(path) or {
eprintln('Texure file: [${path}] NOT FOUND!')
eprintln('Texture file: [${path}] NOT FOUND!')
exit(0)
}
} $else {
path = os.resource_abs_path('assets/models/' + file_path)
buffer = os.read_bytes(path) or {
eprintln('Texure file: [${path}] NOT FOUND!')
eprintln('Texture file: [${path}] NOT FOUND!')
exit(0)
}
}