diff options
| author | Stefan Weil <sw@weilnetz.de> | 2024-02-28 15:28:51 +0100 |
|---|---|---|
| committer | Stefan Weil <sw@weilnetz.de> | 2024-02-28 16:23:43 +0100 |
| commit | 20ad29f497cf1afacb243c0019069ba10a0320bd (patch) | |
| tree | e9d17895b185218ff0fd35750da5d37ee45f4a05 /src/bin | |
| parent | 61309d7f66f6c6d6381c529b84931e9a7531c1b6 (diff) | |
Fix some typos (found by `codespell` and `typos`)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/jp2/convertbmp.c | 4 | ||||
| -rw-r--r-- | src/bin/jp2/opj_compress.c | 2 | ||||
| -rw-r--r-- | src/bin/wx/OPJViewer/source/imagjpeg2000.cpp | 2 | ||||
| -rw-r--r-- | src/bin/wx/OPJViewer/source/wxj2kparser.cpp | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/jp2/convertbmp.c b/src/bin/jp2/convertbmp.c index eb4d420c..3ef9915f 100644 --- a/src/bin/jp2/convertbmp.c +++ b/src/bin/jp2/convertbmp.c @@ -604,7 +604,7 @@ static OPJ_BOOL bmp_read_rle8_data(FILE* IN, OPJ_UINT8* pData, }/* while() */ if (written != width * height) { - fprintf(stderr, "warning, image's actual size does not match advertized one\n"); + fprintf(stderr, "warning, image's actual size does not match advertised one\n"); return OPJ_FALSE; } @@ -693,7 +693,7 @@ static OPJ_BOOL bmp_read_rle4_data(FILE* IN, OPJ_UINT8* pData, } } /* while(y < height) */ if (written != width * height) { - fprintf(stderr, "warning, image's actual size does not match advertized one\n"); + fprintf(stderr, "warning, image's actual size does not match advertised one\n"); return OPJ_FALSE; } return OPJ_TRUE; diff --git a/src/bin/jp2/opj_compress.c b/src/bin/jp2/opj_compress.c index 212f144e..c3d7f4fb 100644 --- a/src/bin/jp2/opj_compress.c +++ b/src/bin/jp2/opj_compress.c @@ -728,7 +728,7 @@ static int parse_cmdline_encoder(int argc, char **argv, /* ----------------------------------------------------- */ - case 'r': { /* rates rates/distorsion */ + case 'r': { /* rates rates/distortion */ char *s = opj_optarg; parameters->tcp_numlayers = 0; while (sscanf(s, "%f", ¶meters->tcp_rates[parameters->tcp_numlayers]) == diff --git a/src/bin/wx/OPJViewer/source/imagjpeg2000.cpp b/src/bin/wx/OPJViewer/source/imagjpeg2000.cpp index 9e1ab90d..4eda46ad 100644 --- a/src/bin/wx/OPJViewer/source/imagjpeg2000.cpp +++ b/src/bin/wx/OPJViewer/source/imagjpeg2000.cpp @@ -652,7 +652,7 @@ jpeg2000_file_parse(wxInputStream& stream, unsigned long int filepoint, return (0); } -// search first contiguos codestream box in an mj2 file +// search first contiguous codestream box in an mj2 file unsigned long int searchjpeg2000c(wxInputStream& stream, unsigned long int fsize, int number) { diff --git a/src/bin/wx/OPJViewer/source/wxj2kparser.cpp b/src/bin/wx/OPJViewer/source/wxj2kparser.cpp index 7c85d873..1ff7d6b4 100644 --- a/src/bin/wx/OPJViewer/source/wxj2kparser.cpp +++ b/src/bin/wx/OPJViewer/source/wxj2kparser.cpp @@ -845,7 +845,7 @@ void OPJParseThread::ParseJ2KFile(wxFile *m_file, wxFileOffset offset, wxFileOff ); if (cbstyle & 0x04) - text = wxT("Termination on each coding passs"); + text = wxT("Termination on each coding pass"); else text = wxT("No termination on each coding pass"); subcurrid4 = m_tree->AppendItem(subcurrid3, @@ -1064,7 +1064,7 @@ void OPJParseThread::ParseJ2KFile(wxFile *m_file, wxFileOffset offset, wxFileOff ); if (cbstyle & 0x04) - text = wxT("Termination on each coding passs"); + text = wxT("Termination on each coding pass"); else text = wxT("No termination on each coding pass"); subcurrid4 = m_tree->AppendItem(subcurrid3, |
