00001 /* file WSPACES.C */ 00002 00003 /* utilites to convert filenames that 00004 have spaces and will thus confuse the %s reader 00005 used in a number of modules */ 00006 00007 void RestoreWhiteSpaces(char *s){ 00008 while (*s != 0){ 00009 if(*s == '/')*s=' '; 00010 s++; 00011 } 00012 return; 00013 } 00014 00015 void HideWhiteSpaces(char *s){ 00016 while (*s != 0){ 00017 if(*s == ' ')*s='/'; 00018 s++; 00019 } 00020 return; 00021 }