Quote:
Originally Posted by DR. GiGa BYTe
due my lack of programming knowledge it would be nice if you can take account of this "feature" in further versions
thanx
DR.GB
|
replace in ProjectZS\Header\imdb.h:
Code:
char* removeDangerousChars(char *ptr)
{
char *i = ptr;
while ( *i ) {
if ( *i == '/' ) { *i = '.'; }
if ( *i == '\\' ) { *i = '-'; }
if ( *i == ':' ) { *i = '.'; }
++i;
}
return ptr;
}
with
Code:
char* removeDangerousChars(char *ptr)
{
char *i = ptr;
while ( *i ) {
if ( *i == '/' ) { *i = '-'; }
if ( *i == '\\' ) { *i = '-'; }
if ( *i == ':' ) { *i = '-'; }
++i;
}
return ptr;
}
hf
regards, dudex