docs: fix `teh` typo
							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
 | 
					// 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.
 | 
					// 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) ? {
 | 
					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) {
 | 
						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())
 | 
										p.tok.pos())
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			'_fastcall' {
 | 
								'_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())
 | 
										p.tok.pos())
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			'callconv' {
 | 
								'callconv' {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue