diff options
author | Lode Vandevenne <lvandeve@users.noreply.github.com> | 2022-01-10 03:01:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 03:01:12 +0300 |
commit | 5601b8272a6850b7c5d693dd0c0e16da50be8d8d (patch) | |
tree | 4c39a646172bd838f04463dc11e4625face9e75c | |
parent | cf81b74d23c2be8137a1ac5fe342e1b5738676b7 (diff) | |
parent | a34b9abcc648c1833719f14d6e1f0a0982f01332 (diff) |
Merge pull request #148 from hohMiyazawa/master
Typos in example programs
-rw-r--r-- | examples/example_bmp2png.cpp | 2 | ||||
-rw-r--r-- | examples/example_encode.c | 2 | ||||
-rw-r--r-- | examples/example_encode.cpp | 2 | ||||
-rw-r--r-- | examples/example_png2bmp.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/examples/example_bmp2png.cpp b/examples/example_bmp2png.cpp index 7bf15cb..19f7763 100644 --- a/examples/example_bmp2png.cpp +++ b/examples/example_bmp2png.cpp @@ -97,7 +97,7 @@ unsigned decodeBMP(std::vector<unsigned char>& image, unsigned& w, unsigned& h, int main(int argc, char *argv[]) { if(argc < 3) { - std::cout << "Please provice input PNG and output BMP file names" << std::endl; + std::cout << "Please provide input BMP and output PNG file names" << std::endl; return 0; } diff --git a/examples/example_encode.c b/examples/example_encode.c index ce43aba..11149ee 100644 --- a/examples/example_encode.c +++ b/examples/example_encode.c @@ -30,7 +30,7 @@ freely, subject to the following restrictions: /* 3 ways to encode a PNG from RGBA pixel data to a file (and 2 in-memory ways). -NOTE: this samples overwrite the file or test.png without warning! +NOTE: these samples overwrite the file or test.png without warning! */ /* diff --git a/examples/example_encode.cpp b/examples/example_encode.cpp index 228ac03..fc1a004 100644 --- a/examples/example_encode.cpp +++ b/examples/example_encode.cpp @@ -28,7 +28,7 @@ freely, subject to the following restrictions: /* 3 ways to encode a PNG from RGBA pixel data to a file (and 2 in-memory ways). -NOTE: this samples overwrite the file or test.png without warning! +NOTE: these samples overwrite the file or test.png without warning! */ //g++ lodepng.cpp examples/example_encode.cpp -I./ -ansi -pedantic -Wall -Wextra -O3 diff --git a/examples/example_png2bmp.cpp b/examples/example_png2bmp.cpp index ae12298..daa1ee6 100644 --- a/examples/example_png2bmp.cpp +++ b/examples/example_png2bmp.cpp @@ -101,7 +101,7 @@ void encodeBMP(std::vector<unsigned char>& bmp, const unsigned char* image, int int main(int argc, char *argv[]) { if(argc < 3) { - std::cout << "Please provice input PNG and output BMP file names" << std::endl; + std::cout << "Please provide input PNG and output BMP file names" << std::endl; return 0; } const char* infile = argv[1]; |