Léo Terziman před 10 roky
rodič
revize
ca2e47b205
2 změnil soubory, kde provedl 4 přidání a 4 odebrání
  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