core/logic/Translator.cpp
changeset 3005 2db965f8db3f
parent 3004 e3ac0dc6d9a4
child 3007 6076827663ba
     1.1 --- a/core/logic/Translator.cpp	Fri May 14 19:43:53 2010 -0700
     1.2 +++ b/core/logic/Translator.cpp	Fri May 14 20:04:30 2010 -0700
     1.3 @@ -123,11 +123,11 @@
     1.4  	{
     1.5  		if (m_File.compare("common.cfg") == 0)
     1.6  		{
     1.7 -			smcore.ReplaceAll(path, sizeof(path), "common.cfg", "common.phrases.txt", true);
     1.8 +			UTIL_ReplaceAll(path, sizeof(path), "common.cfg", "common.phrases.txt", true);
     1.9  		} else if (strstr(path, ".cfg")) {
    1.10 -			smcore.ReplaceAll(path, sizeof(path), ".cfg", ".txt", true);
    1.11 +			UTIL_ReplaceAll(path, sizeof(path), ".cfg", ".txt", true);
    1.12  		} else if (strstr(path, ".txt")) {
    1.13 -			smcore.ReplaceAll(path, sizeof(path), ".txt", ".cfg", true);
    1.14 +			UTIL_ReplaceAll(path, sizeof(path), ".txt", ".cfg", true);
    1.15  		}
    1.16  	}
    1.17