UserInterface/Find_And_Fix_Path [ Functions ]
FUNCTION
Searches through the options to find a path. This path is converted to a propper path if it contains errors such as the use of '\' or when it does not start with ./ or a drive name. The option must exist.
SYNOPSIS
static char *Find_And_Fix_Path( char *option_name )
INPUTS
- option_name -- the option name for the path
RESULT
- path -- the path.
SOURCE
{ char *temp; char *temp2; temp = Find_Parameterized_Option( option_name ); assert( temp ); temp = Path_Convert_Win32_to_Unix( temp ); temp2 = Fix_Path( temp ); free( temp ); return temp2; }