mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
http: cleanup backend_nix.c.v, fixes vpm too
This commit is contained in:
@ -27,7 +27,7 @@ fn C.stbi_image_free()
|
||||
fn C.stbi_set_flip_vertically_on_load()
|
||||
|
||||
pub fn load(path string) Image {
|
||||
ext := path.all_after('.')
|
||||
ext := path.all_after_last('.')
|
||||
mut res := Image {
|
||||
ok: true
|
||||
ext: ext
|
||||
|
Reference in New Issue
Block a user