WSPACES.C

Go to the documentation of this file.
00001 /* --
00002 OpenFX version 2.03 - Modelling, Animation and Rendering Package
00003 Copyright (C) 2000 - 2010 OpenFX Development Team
00004 -- */
00005 
00006 /* file WSPACES.C  */
00007 
00008 /* utilites to convert filenames that
00009    have spaces and will thus confuse the %s reader
00010    used in a number of modules */
00011 
00012 void RestoreWhiteSpaces(char *s){
00013  while (*s != 0){
00014    if(*s == '/')*s=' ';
00015    s++;
00016  }
00017  return;
00018 }
00019 
00020 void HideWhiteSpaces(char *s){
00021  while (*s != 0){
00022    if(*s == ' ')*s='/';
00023    s++;
00024  }
00025  return;
00026 }
Generated on Tue Jan 28 06:18:27 2014 for OpenFX by  doxygen 1.6.3