mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
ci: fix failing v -W build-tools
and v -W build-examples
; run vfmt.
This commit is contained in:
parent
ea3d1405ee
commit
04095f4088
11 changed files with 22 additions and 21 deletions
|
@ -106,7 +106,7 @@ fn (image Image) save_as_ppm(file_name string) {
|
|||
c_r := to_int(unsafe { image.data[i] }.x)
|
||||
c_g := to_int(unsafe { image.data[i] }.y)
|
||||
c_b := to_int(unsafe { image.data[i] }.z)
|
||||
f_out.write_str('$c_r $c_g $c_b ') or { panic(err) }
|
||||
f_out.write_string('$c_r $c_g $c_b ') or { panic(err) }
|
||||
}
|
||||
f_out.close()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue