mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Fix build bustage on Tru64 Unix.
This commit is contained in:
parent
4cb13a9bbc
commit
e249cad1f9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user