summaryrefslogtreecommitdiff
path: root/lodepng.cpp
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2015-10-24 13:30:32 +0200
committerBen Wiederhake <BenWiederhake.GitHub@gmx.de>2015-10-24 13:30:32 +0200
commit3f1a7980a8d48eb21caa4bc7da74848121df64de (patch)
treeb37b6065f35aba8a6bfbdb0848a00103ec8e37f1 /lodepng.cpp
parent6f432b32a78026358111ba56581fe97383d5aad0 (diff)
fix typos
Credits go to the authors of 'codespell'.
Diffstat (limited to 'lodepng.cpp')
-rw-r--r--lodepng.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lodepng.cpp b/lodepng.cpp
index fbcecb5..643bfd5 100644
--- a/lodepng.cpp
+++ b/lodepng.cpp
@@ -4097,7 +4097,7 @@ static unsigned postProcessScanlines(unsigned char* out, unsigned char* in,
CERROR_TRY_RETURN(unfilter(in, in, w, h, bpp));
removePaddingBits(out, in, w * bpp, ((w * bpp + 7) / 8) * 8, h);
}
- /*we can immediatly filter into the out buffer, no other steps needed*/
+ /*we can immediately filter into the out buffer, no other steps needed*/
else CERROR_TRY_RETURN(unfilter(out, in, w, h, bpp));
}
else /*interlace_method is 1 (Adam7)*/
@@ -5456,7 +5456,7 @@ static unsigned preProcessScanlines(unsigned char** out, size_t* outsize, const
}
else
{
- /*we can immediatly filter into the out buffer, no other steps needed*/
+ /*we can immediately filter into the out buffer, no other steps needed*/
error = filter(*out, in, w, h, &info_png->color, settings);
}
}