Go Back   FlashFXP Forums > > > >

Caladan's scripts project-zs, sitewho

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 12-23-2005, 02:15 AM   #6
dudex
Junior Member
 
Join Date: Jan 2004
Posts: 12
Default

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
dudex is offline   Reply With Quote
 

Tags
creates, everytime, imdb, info, receives


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:49 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)