浏览代码

Fixed some typos

Léo Terziman 10 年之前
父节点
当前提交
ca2e47b205
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 3 3
      code/Importer.cpp
  2. 1 1
      include/assimp/ai_assert.h

+ 3 - 3
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<int>(pimpl->mIntProperties, szName,iValue);	
+		existing = SetGenericProperty<int>(pimpl->mIntProperties, szName,iValue);	
 	ASSIMP_END_EXCEPTION_REGION(bool);
-	return exising;
+	return existing;
 }
 
 // ------------------------------------------------------------------------------------------------

+ 1 - 1
include/assimp/ai_assert.h

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