Refactored setUpFreetype function.
diff --git a/test/FTVectoriser-Test.cpp b/test/FTVectoriser-Test.cpp
index 7710d67..ecf3613 100755
--- a/test/FTVectoriser-Test.cpp
+++ b/test/FTVectoriser-Test.cpp
@@ -278,17 +278,17 @@ class FTVectoriserTest : public CppUnit::TestCase
{
setUpFreetype( NULL_CHARACTER_INDEX);
- FT_Int amajor;
- FT_Int aminor;
- FT_Int apatch;
+ FT_Int major;
+ FT_Int minor;
+ FT_Int patch;
- FT_Library_Version( library, &amajor, &aminor, &apatch);
+ FT_Library_Version( library, &major, &minor, &patch);
// If you hit these asserts then you have the wrong library version to run the tests.
// You can still run the tests but some will fail because the hinter changed in 2.1.4
- CPPUNIT_ASSERT( amajor == 2);
- CPPUNIT_ASSERT( aminor == 1);
- CPPUNIT_ASSERT( apatch >= 4);
+ CPPUNIT_ASSERT( major == 2);
+ CPPUNIT_ASSERT( minor == 1);
+ CPPUNIT_ASSERT( patch >= 4);
tearDownFreetype();
}