diff options
-rw-r--r-- | StormLib_vs08_test.vcproj | 2 | ||||
-rw-r--r-- | test/TLogHelper.cpp | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/StormLib_vs08_test.vcproj b/StormLib_vs08_test.vcproj index 7e9e485..1cd9596 100644 --- a/StormLib_vs08_test.vcproj +++ b/StormLib_vs08_test.vcproj @@ -27,7 +27,7 @@ OutputDirectory="./bin/$(ProjectName)/$(PlatformName)/$(ConfigurationName)" IntermediateDirectory="./bin/$(ProjectName)/$(PlatformName)/$(ConfigurationName)" ConfigurationType="1" - CharacterSet="1" + CharacterSet="2" > <Tool Name="VCPreBuildEventTool" diff --git a/test/TLogHelper.cpp b/test/TLogHelper.cpp index a554573..64cc815 100644 --- a/test/TLogHelper.cpp +++ b/test/TLogHelper.cpp @@ -357,12 +357,7 @@ int TLogHelper::PrintErrorVa(const char * szFormat, ...) int TLogHelper::PrintError(const char * szFormat, const char * szFileName)
{
- TCHAR szFileNameT[MAX_PATH];
- TCHAR szFormatT[0x200];
-
- StringCopy(szFileNameT, _countof(szFileNameT), szFileName);
- StringCopy(szFormatT, _countof(szFormatT), szFormat);
- return PrintErrorVa(szFormatT, szFileNameT);
+ return PrintErrorVa(szFormat, szFileName);
}
//-----------------------------------------------------------------------------
|