1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-20 04:09:16 +00:00

Update3 for MSVC10

Fix some const problems.
This commit is contained in:
Skoader
2012-04-22 13:13:32 +10:00
parent bc74371c57
commit f8c3f7ac31
9 changed files with 19 additions and 16 deletions

View File

@ -82,7 +82,7 @@ void plNetClientRecorder::IMakeFilename(const char* recName, char* path)
CreateDirectory(path, NULL);
#endif
char* lastDot = strrchr(recName, '.');
const char* lastDot = strrchr(recName, '.');
if (lastDot)
strncat(path, recName, lastDot-recName);
else