Make Windows' ResetRPTDirectory function compile.

(According to ticket:2421.)
master
Cyp 2010-12-20 02:51:28 +01:00
parent 180d0bb62a
commit 0c40449e37
1 changed files with 2 additions and 2 deletions

View File

@ -1226,10 +1226,10 @@ void ExchndlSetup()
atexit(ExchndlShutdown);
#endif
}
void ResetRPTDirectory(char *newPath)
void ResetRPTDirectory(TCHAR *newPath)
{
debug(LOG_WZ, "New RPT directory is %s, was %s", newPath, szLogFileName);
_tcscpy(szLogFileName, CW2T(newPath));
_tcscpy(szLogFileName, newPath);
}
void ExchndlShutdown(void)
{