Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lvandeve/lodepng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLode Vandevenne <lvandeve@users.noreply.github.com>2022-01-10 03:01:12 +0300
committerGitHub <noreply@github.com>2022-01-10 03:01:12 +0300
commit5601b8272a6850b7c5d693dd0c0e16da50be8d8d (patch)
tree4c39a646172bd838f04463dc11e4625face9e75c
parentcf81b74d23c2be8137a1ac5fe342e1b5738676b7 (diff)
parenta34b9abcc648c1833719f14d6e1f0a0982f01332 (diff)
Merge pull request #148 from hohMiyazawa/master
Typos in example programs
-rw-r--r--examples/example_bmp2png.cpp2
-rw-r--r--examples/example_encode.c2
-rw-r--r--examples/example_encode.cpp2
-rw-r--r--examples/example_png2bmp.cpp2
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];