mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
docs: fix teh
typo
This commit is contained in:
parent
f956acd2f6
commit
7f974a275a
@ -156,7 +156,7 @@ pub fn stbi_write_tga(path string, w int, h int, comp int, buf &u8) ? {
|
||||
}
|
||||
|
||||
// stbi_write_png write on path a JPG file
|
||||
// quality select teh compression quality of the JPG
|
||||
// quality select the compression quality of the JPG
|
||||
// quality is between 1 and 100. Higher quality looks better but results in a bigger image.
|
||||
pub fn stbi_write_jpg(path string, w int, h int, comp int, buf &u8, quality int) ? {
|
||||
if 0 == C.stbi_write_jpg(&char(path.str), w, h, comp, buf, quality) {
|
||||
|
@ -223,7 +223,7 @@ fn (mut p Parser) fn_decl() ast.FnDecl {
|
||||
p.tok.pos())
|
||||
}
|
||||
'_fastcall' {
|
||||
p.note_with_pos('teh tag [_fastcall] has been deprecated, it will be an error after 2022-06-01, use `[callconv: fastcall]` instead',
|
||||
p.note_with_pos('the tag [_fastcall] has been deprecated, it will be an error after 2022-06-01, use `[callconv: fastcall]` instead',
|
||||
p.tok.pos())
|
||||
}
|
||||
'callconv' {
|
||||
|
Loading…
Reference in New Issue
Block a user