From 2fb6df190bdf29c00f232d86a217bc3004f5165e Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Sun, 15 Jun 2014 12:49:32 -0700 Subject: [PATCH] fix accidental stb__skip renames in comments --- stb_image.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stb_image.h b/stb_image.h index 7029f5c..b3bdce6 100644 --- a/stb_image.h +++ b/stb_image.h @@ -3275,7 +3275,7 @@ static stbi_uc *stbi__tga_load(stbi__context *s, int *x, int *y, int *comp, int tga_data = (unsigned char*)malloc( tga_width * tga_height * req_comp ); if (!tga_data) return stbi__errpuc("outofmem", "Out of memory"); - // stbi__skip to the data's starting position (offset usually = 0) + // skip to the data's starting position (offset usually = 0) stbi__skip(s, tga_offset ); if ( !tga_indexed && !tga_is_RLE) { @@ -3288,7 +3288,7 @@ static stbi_uc *stbi__tga_load(stbi__context *s, int *x, int *y, int *comp, int // do I need to load a palette? if ( tga_indexed) { - // any data to stbi__skip? (offset usually = 0) + // any data to skip? (offset usually = 0) stbi__skip(s, tga_palette_start ); // load the palette tga_palette = (unsigned char*)malloc( tga_palette_len * tga_palette_bits / 8 ); @@ -3500,7 +3500,7 @@ static stbi_uc *stbi__psd_load(stbi__context *s, int *x, int *y, int *comp, int // Endloop // The RLE-compressed data is preceeded by a 2-byte data count for each row in the data, - // which we're going to just stbi__skip. + // which we're going to just skip. stbi__skip(s, h * channelCount * 2 ); // Read the RLE data by channel.