Temporary fix for bug 33801. r=shaver

This commit is contained in:
zuperdee%penguinpowered.com 2000-05-17 04:47:00 +00:00
parent d4513de096
commit dfca1cd6ac

View File

@ -78,9 +78,9 @@ NS_IMETHODIMP nsDeviceContextSpecBeOS :: Init(PRBool aQuiet)
if ( ( path = getenv( "PWD" ) ) == (char *) NULL )
if ( ( path = getenv( "HOME" ) ) == (char *) NULL )
strcpy( mPrData.path, "netscape.ps" );
strcpy( mPrData.path, "mozilla.ps" );
if ( path != (char *) NULL )
sprintf( mPrData.path, "%s/netscape.ps", path );
sprintf( mPrData.path, "%s/mozilla.ps", path );
else
return NS_ERROR_FAILURE;