Commit a81ff69f authored by Manuel Grizonnet's avatar Manuel Grizonnet

STYLE: run fix_typos.sh script

parent 59967c17
......@@ -150,7 +150,7 @@ macro(otb_module_impl)
else()
# if OTB_SOURCE_DIR is set all auto-generated export headers for a class
# goes into OTBCommon_BINARY_DIR/src.
# Hence it is requred to include ${OTBCommon_BINARY_DIR} to list of
# Hence it is required to include ${OTBCommon_BINARY_DIR} to list of
# ${otb-module}_INCLUDE_DIRS. Not doing this will force developer to
# to include them explicitly for each module which can result in
# more problems. ( stephane albert)
......
......@@ -492,7 +492,7 @@ ImageFileReader<TOutputImage, ConvertPixelTraits>
}
else
{
// Read back from existing dictionnary
// Read back from existing dictionary
ImageKeywordlist otb_kwl;
itk::ExposeMetaData<ImageKeywordlist>(this->GetOutput()->GetMetaDataDictionary(),
MetaDataKey::OSSIMKeywordlistKey,otb_kwl);
......
......@@ -685,7 +685,7 @@ int TestHelper::RegressionTestDiffFile(const char * testAsciiFileName, const cha
// filter ignored lines
// TODO
// filter lines with hexa adress (isHexaPointerAddress)
// filter lines with hexa address (isHexaPointerAddress)
// use isToBeIgnoredForAnyComparison()
// Iterate over the baseline lines
......@@ -816,7 +816,7 @@ int TestHelper::RegressionTestDiffFile(const char * testAsciiFileName, const cha
else
{
// examine other cases :
// test if hexadecimal adress
// test if hexadecimal address
bool isRefTokenHexa = isHexaPointerAddress(
curLineRef,
tokenRef[i].begin()-curLineRef.begin(),
......@@ -827,7 +827,7 @@ int TestHelper::RegressionTestDiffFile(const char * testAsciiFileName, const cha
tokenTest[i].size());
if (isRefTokenHexa && isTestTokenHexa)
{
// these tokens are equivalent (we don't compare pointer adress)
// these tokens are equivalent (we don't compare pointer address)
areTokensEquivalent = true;
}
else
......@@ -2220,11 +2220,11 @@ bool TestHelper::isHexaPointerAddress(const std::string& str, size_t pos, size_t
return false;
}
// pointer adress has to begin with '0x'
// it may also start with '00' with a size of 16 (64bit adress)
// or start with '0' with a size of 8 (32bit adress)
// pointer address has to begin with '0x'
// it may also start with '00' with a size of 16 (64bit address)
// or start with '0' with a size of 8 (32bit address)
// Note: the last pattern seems a bit weak but cases like '00B5FA18' or
// '01C46D80' both are valid hexadecimal adresses on windows
// '01C46D80' both are valid hexadecimal addresses on windows
if (str[pos] != 48)
{
return false;
......
......@@ -198,7 +198,7 @@ endmacro(macro_create_targets_for_package)
#
# MATCH_STRINGS - list of cmake variables that are set in INPUT_FILE.
# - eg: set(OTB_VERSION_MAJOR "5") or set(OTB_VERSION_PATCH 85)
# - It works on both qouted and non-quoted values.
# - It works on both quoted and non-quoted values.
#
# PREFIX - optional prefix string where you need to have the output stored
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment