mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
all: fix typos (#21089)
This commit is contained in:
parent
9ad84ddc21
commit
f77bb32044
193 changed files with 403 additions and 402 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue