Fixed some typos

pull/546/head
Léo Terziman 2015-04-29 09:26:11 +02:00
parent 825a58803d
commit ca2e47b205
2 changed files with 4 additions and 4 deletions

View File

@ -927,11 +927,11 @@ void Importer::GetExtensionList(aiString& szOut) const
// Set a configuration property // Set a configuration property
bool Importer::SetPropertyInteger(const char* szName, int iValue) bool Importer::SetPropertyInteger(const char* szName, int iValue)
{ {
bool exising; bool existing;
ASSIMP_BEGIN_EXCEPTION_REGION(); ASSIMP_BEGIN_EXCEPTION_REGION();
exising = SetGenericProperty<int>(pimpl->mIntProperties, szName,iValue); existing = SetGenericProperty<int>(pimpl->mIntProperties, szName,iValue);
ASSIMP_END_EXCEPTION_REGION(bool); ASSIMP_END_EXCEPTION_REGION(bool);
return exising; return existing;
} }
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------

View File

@ -5,7 +5,7 @@
#ifdef ASSIMP_BUILD_DEBUG #ifdef ASSIMP_BUILD_DEBUG
# include <assert.h> # include <assert.h>
# define ai_assert(expression) assert(expression); # define ai_assert(expression) assert(expression)
#else #else
# define ai_assert(expression) # define ai_assert(expression)
#endif #endif