summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-07-26 21:06:38 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-07-26 21:06:38 +0200
commit5e795d90a1e47616e0c7a2e39381c13ccf7fd6dd (patch)
treeb11a992a90fc82a23357ef9588aead07862b29a0 /src/bin
parent2be20ce7d9996e960d79f3ad6ec439a9895849ed (diff)
Spelling fixes (patch by ka7, #890, rebased on top of master)
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/jp2/convertbmp.c2
-rw-r--r--src/bin/jp3d/opj_jp3d_compress.c4
-rw-r--r--src/bin/jpwl/convert.c2
-rw-r--r--src/bin/jpwl/opj_jpwl_compress.c2
-rw-r--r--src/bin/mj2/meta_out.c4
-rw-r--r--src/bin/mj2/mj2_to_metadata.c2
-rw-r--r--src/bin/mj2/opj_mj2_decompress.c2
-rw-r--r--src/bin/mj2/opj_mj2_extract.c2
-rw-r--r--src/bin/mj2/opj_mj2_wrap.c4
-rw-r--r--src/bin/wx/OPJViewer/source/OPJThreads.cpp2
-rw-r--r--src/bin/wx/OPJViewer/source/imagjpeg2000.cpp2
11 files changed, 14 insertions, 14 deletions
diff --git a/src/bin/jp2/convertbmp.c b/src/bin/jp2/convertbmp.c
index 0bc9c9f3..5152ca6f 100644
--- a/src/bin/jp2/convertbmp.c
+++ b/src/bin/jp2/convertbmp.c
@@ -56,7 +56,7 @@ typedef struct {
typedef struct {
OPJ_UINT32 biSize; /* Size of the structure in bytes */
OPJ_UINT32 biWidth; /* Width of the image in pixels */
- OPJ_UINT32 biHeight; /* Heigth of the image in pixels */
+ OPJ_UINT32 biHeight; /* Height of the image in pixels */
OPJ_UINT16 biPlanes; /* 1 */
OPJ_UINT16 biBitCount; /* Number of color bits by pixels */
OPJ_UINT32 biCompression; /* Type of encoding 0: none 1: RLE8 2: RLE4 */
diff --git a/src/bin/jp3d/opj_jp3d_compress.c b/src/bin/jp3d/opj_jp3d_compress.c
index 2b40da35..ea7ee7fc 100644
--- a/src/bin/jp3d/opj_jp3d_compress.c
+++ b/src/bin/jp3d/opj_jp3d_compress.c
@@ -658,7 +658,7 @@ int parse_cmdline_encoder(int argc, char **argv, opj_cparameters_t *parameters)
/* ------------------------------------------------------
- case 'T': // Tranformation of original data (2D-DWT/3D-DWT/3D-RLS/2D-DWT+1D-RLS)
+ case 'T': // Transformation of original data (2D-DWT/3D-DWT/3D-RLS/2D-DWT+1D-RLS)
{
char transform[4];
@@ -857,7 +857,7 @@ int main(int argc, char **argv)
/*
configure the event callbacks (not required)
- setting of each callback is optionnal
+ setting of each callback is optional
*/
memset(&event_mgr, 0, sizeof(opj_event_mgr_t));
event_mgr.error_handler = error_callback;
diff --git a/src/bin/jpwl/convert.c b/src/bin/jpwl/convert.c
index 245ae28e..cf06b513 100644
--- a/src/bin/jpwl/convert.c
+++ b/src/bin/jpwl/convert.c
@@ -561,7 +561,7 @@ typedef struct {
typedef struct {
DWORD biSize; /* Size of the structure in bytes */
DWORD biWidth; /* Width of the image in pixels */
- DWORD biHeight; /* Heigth of the image in pixels */
+ DWORD biHeight; /* Height of the image in pixels */
WORD biPlanes; /* 1 */
WORD biBitCount; /* Number of color bits by pixels */
DWORD biCompression; /* Type of encoding 0: none 1: RLE8 2: RLE4 */
diff --git a/src/bin/jpwl/opj_jpwl_compress.c b/src/bin/jpwl/opj_jpwl_compress.c
index 7f215fc5..28f0670c 100644
--- a/src/bin/jpwl/opj_jpwl_compress.c
+++ b/src/bin/jpwl/opj_jpwl_compress.c
@@ -1629,7 +1629,7 @@ int main(int argc, char **argv)
/*
configure the event callbacks (not required)
- setting of each callback is optionnal
+ setting of each callback is optional
*/
memset(&event_mgr, 0, sizeof(opj_event_mgr_t));
event_mgr.error_handler = error_callback;
diff --git a/src/bin/mj2/meta_out.c b/src/bin/mj2/meta_out.c
index 352766bf..2c0e2737 100644
--- a/src/bin/mj2/meta_out.c
+++ b/src/bin/mj2/meta_out.c
@@ -189,7 +189,7 @@ int xml_write_moov(FILE *file, FILE *xmlout, opj_mj2_t * movie,
" <!-- Seconds since start of Jan. 1, 1904 UTC (Greenwich) -->\n");
}
/* 2082844800 = seconds between 1/1/04 and 1/1/70 */
- /* There's still a time zone offset problem not solved... but spec is ambigous as to whether stored time
+ /* There's still a time zone offset problem not solved... but spec is ambiguous as to whether stored time
should be local or UTC */
if (derived) {
fprintf(xmlout, " <AsLocalTime>");
@@ -677,7 +677,7 @@ void xml_write_mdia(FILE* file, FILE* xmlout, mj2_tk_t *track,
" <!-- Seconds since start of Jan. 1, 1904 UTC (Greenwich) -->\n");
}
/* 2082844800 = seconds between 1/1/04 and 1/1/70 */
- /* There's still a time zone offset problem not solved... but spec is ambigous as to whether stored time
+ /* There's still a time zone offset problem not solved... but spec is ambiguous as to whether stored time
should be local or UTC */
if (derived) {
fprintf(xmlout, " <AsLocalTime>");
diff --git a/src/bin/mj2/mj2_to_metadata.c b/src/bin/mj2/mj2_to_metadata.c
index f7ee63e4..44858c86 100644
--- a/src/bin/mj2/mj2_to_metadata.c
+++ b/src/bin/mj2/mj2_to_metadata.c
@@ -310,7 +310,7 @@ int main(int argc, char *argv[])
/*
configure the event callbacks (not required)
- setting of each callback is optionnal
+ setting of each callback is optional
*/
memset(&event_mgr, 0, sizeof(opj_event_mgr_t));
event_mgr.error_handler = error_callback;
diff --git a/src/bin/mj2/opj_mj2_decompress.c b/src/bin/mj2/opj_mj2_decompress.c
index 7b8c3038..6b26d563 100644
--- a/src/bin/mj2/opj_mj2_decompress.c
+++ b/src/bin/mj2/opj_mj2_decompress.c
@@ -107,7 +107,7 @@ int main(int argc, char *argv[])
/*
configure the event callbacks (not required)
- setting of each callback is optionnal
+ setting of each callback is optional
*/
memset(&event_mgr, 0, sizeof(opj_event_mgr_t));
event_mgr.error_handler = error_callback;
diff --git a/src/bin/mj2/opj_mj2_extract.c b/src/bin/mj2/opj_mj2_extract.c
index 9b4f1b0a..a062e17d 100644
--- a/src/bin/mj2/opj_mj2_extract.c
+++ b/src/bin/mj2/opj_mj2_extract.c
@@ -100,7 +100,7 @@ int main(int argc, char *argv[])
/*
configure the event callbacks (not required)
- setting of each callback is optionnal
+ setting of each callback is optional
*/
memset(&event_mgr, 0, sizeof(opj_event_mgr_t));
event_mgr.error_handler = error_callback;
diff --git a/src/bin/mj2/opj_mj2_wrap.c b/src/bin/mj2/opj_mj2_wrap.c
index 8d95116d..84a066e2 100644
--- a/src/bin/mj2/opj_mj2_wrap.c
+++ b/src/bin/mj2/opj_mj2_wrap.c
@@ -397,7 +397,7 @@ int main(int argc, char *argv[])
memset(&img, 0, sizeof(opj_image_t));
/*
configure the event callbacks (not required)
- setting of each callback is optionnal
+ setting of each callback is optional
*/
memset(&event_mgr, 0, sizeof(opj_event_mgr_t));
event_mgr.error_handler = error_callback;
@@ -452,7 +452,7 @@ int main(int argc, char *argv[])
if (snum == 0) { /* Could not open a single codestream */
fprintf(stderr, "failed to open %s for reading\n", j2kfilename);
return 1;
- } else { /* Tried to open a inexistant codestream */
+ } else { /* Tried to open a inexistent codestream */
fprintf(stdout, "%d frames are being added to the MJ2 file\n", snum);
break;
}
diff --git a/src/bin/wx/OPJViewer/source/OPJThreads.cpp b/src/bin/wx/OPJViewer/source/OPJThreads.cpp
index 86570752..90a9206e 100644
--- a/src/bin/wx/OPJViewer/source/OPJThreads.cpp
+++ b/src/bin/wx/OPJViewer/source/OPJThreads.cpp
@@ -420,7 +420,7 @@ BEGIN_EVENT_TABLE(OPJMarkerTree, wxGenericTreeCtrl)
/*EVT_TREE_KEY_DOWN(TreeTest_Ctrl, OPJMarkerTree::OnTreeKeyDown)*/
/*EVT_TREE_ITEM_ACTIVATED(TreeTest_Ctrl, OPJMarkerTree::OnItemActivated)*/
- // so many differents ways to handle right mouse button clicks...
+ // so many different ways to handle right mouse button clicks...
/*EVT_CONTEXT_MENU(OPJMarkerTree::OnContextMenu)*/
// EVT_TREE_ITEM_MENU is the preferred event for creating context menus
// on a tree control, because it includes the point of the click or item,
diff --git a/src/bin/wx/OPJViewer/source/imagjpeg2000.cpp b/src/bin/wx/OPJViewer/source/imagjpeg2000.cpp
index 9716706b..9e1ab90d 100644
--- a/src/bin/wx/OPJViewer/source/imagjpeg2000.cpp
+++ b/src/bin/wx/OPJViewer/source/imagjpeg2000.cpp
@@ -1092,7 +1092,7 @@ bool wxJPEG2000Handler::SaveFile(wxImage *wimage, wxOutputStream& stream,
/*
configure the event callbacks (not required)
- setting of each callback is optionnal
+ setting of each callback is optional
*/
memset(&event_mgr, 0, sizeof(opj_event_mgr_t));
event_mgr.error_handler = jpeg2000_error_callback;