Change a few chars to be long

darcs-hash:20060213111023-ac50b-5ad5ddf9beb72117fc1dc81c048a83e5480bc510.gz
This commit is contained in:
axel 2006-02-13 21:10:23 +10:00
parent a015472739
commit a5dde6021c

View file

@ -708,7 +708,7 @@ wchar_t *get_filename( const wchar_t *cmd )
debug( 2, L"get_filename( '%ls' )", cmd );
if(wcschr( cmd, '/' ) != 0 )
if(wcschr( cmd, L'/' ) != 0 )
{
if( waccess( cmd, X_OK )==0 )
{
@ -748,9 +748,9 @@ wchar_t *get_filename( const wchar_t *cmd )
{
int path_len = wcslen( nxt_path );
wcscpy( new_cmd, nxt_path );
if( new_cmd[path_len-1] != '/' )
if( new_cmd[path_len-1] != L'/' )
{
new_cmd[path_len++]='/';
new_cmd[path_len++]=L'/';
}
wcscpy( &new_cmd[path_len], cmd );
if( waccess( new_cmd, X_OK )==0 )