Added missing files to MSVC8 project (libraries.h and libraries.cpp)

Fixed some MSVC8 errors with new files
Bumped version
This commit is contained in:
Scott Ehlert
2006-05-08 04:13:37 +00:00
parent 7669ab02f6
commit ca3e8582e3
4 changed files with 15 additions and 7 deletions

View File

@@ -68,9 +68,9 @@ bool DecodeLibCmdString(const char *str, LibDecoder &dec)
dec.param2 = NULL;
} else {
dec.buffer = strdup(str);
char *p = strchr(str, '_');
char *p = const_cast<char *>(strchr(str, '_'));
while (p && (*(p+1) != '_'))
p = strchr(str, '_');
p = const_cast<char *>(strchr(str, '_'));
if (!p || !*(p+1))
return false;
*p = '\0';