Fix build bustage on Tru64 Unix.

This commit is contained in:
jim_nance%yahoo.com 2000-05-31 16:51:35 +00:00
parent 4cb13a9bbc
commit e249cad1f9

View File

@ -250,7 +250,7 @@ NS_METHOD nsSound::Play(nsIURI *aURI)
nsFileSpec chromeFile;
if (NS_SUCCEEDED(rv) && aUrl) {
rv = aUrl->GetFilePath(getter_Copies(tempPath));
if ( NS_FAILED(rv) || tempPath == NULL ) {
if ( NS_FAILED(rv) || !tempPath ) {
printf( "Sound: unable to get path on URI\n" );
return NS_ERROR_FAILURE;
}