From ca2e47b2050a122cb3955eaa8def358a6a0e6076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Terziman?= Date: Wed, 29 Apr 2015 09:26:11 +0200 Subject: [PATCH] Fixed some typos --- code/Importer.cpp | 6 +++--- include/assimp/ai_assert.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/Importer.cpp b/code/Importer.cpp index 876746445..ead61402c 100644 --- a/code/Importer.cpp +++ b/code/Importer.cpp @@ -927,11 +927,11 @@ void Importer::GetExtensionList(aiString& szOut) const // Set a configuration property bool Importer::SetPropertyInteger(const char* szName, int iValue) { - bool exising; + bool existing; ASSIMP_BEGIN_EXCEPTION_REGION(); - exising = SetGenericProperty(pimpl->mIntProperties, szName,iValue); + existing = SetGenericProperty(pimpl->mIntProperties, szName,iValue); ASSIMP_END_EXCEPTION_REGION(bool); - return exising; + return existing; } // ------------------------------------------------------------------------------------------------ diff --git a/include/assimp/ai_assert.h b/include/assimp/ai_assert.h index d753ea01d..202446009 100644 --- a/include/assimp/ai_assert.h +++ b/include/assimp/ai_assert.h @@ -5,7 +5,7 @@ #ifdef ASSIMP_BUILD_DEBUG # include -# define ai_assert(expression) assert(expression); +# define ai_assert(expression) assert(expression) #else # define ai_assert(expression) #endif