more string append fixes

This commit is contained in:
DarthArgus
2015-03-23 22:30:56 -05:00
parent 3368acf9bc
commit 2c8ee9dc3e
2 changed files with 4 additions and 4 deletions
@@ -288,7 +288,7 @@ void CAutoLog::Archive(void)
else
sprintf(strCurrent,".");
sprintf(strPath,"%s"SLASHCHAR"%s", strCurrent, strTime); // logs/041698
sprintf(strPath,"%s" SLASHCHAR "%s", strCurrent, strTime); // logs/041698
#ifdef WIN32
// remember current directory
@@ -331,7 +331,7 @@ void CAutoLog::Archive(void)
else
pCurrent++;
sprintf(strCurrent,"%s"SLASHCHAR"%s",strPath,pCurrent);
sprintf(strCurrent,"%s" SLASHCHAR "%s",strPath,pCurrent);
fflush(pFile);
fclose(pFile);