mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
A better fix for Mac build bustage
This commit is contained in:
parent
c4e0e74770
commit
1d625cd307
@ -1723,9 +1723,8 @@ nsEditorShell::UpdateWindowTitle()
|
||||
if (diskDoc)
|
||||
{
|
||||
// find out if the doc already has a fileSpec associated with it.
|
||||
nsFileSpec docFileSpec;
|
||||
PRBool noFileSpec = (diskDoc->GetFileSpec(docFileSpec) == NS_ERROR_NOT_INITIALIZED);
|
||||
if ((docFileSpec != nsnull) && !noFileSpec)
|
||||
nsFileSpec docFileSpec;
|
||||
if (NS_SUCCEEDED(diskDoc->GetFileSpec(docFileSpec)))
|
||||
{
|
||||
char *name = docFileSpec.GetLeafName();
|
||||
if (name)
|
||||
|
@ -1723,9 +1723,8 @@ nsEditorShell::UpdateWindowTitle()
|
||||
if (diskDoc)
|
||||
{
|
||||
// find out if the doc already has a fileSpec associated with it.
|
||||
nsFileSpec docFileSpec;
|
||||
PRBool noFileSpec = (diskDoc->GetFileSpec(docFileSpec) == NS_ERROR_NOT_INITIALIZED);
|
||||
if ((docFileSpec != nsnull) && !noFileSpec)
|
||||
nsFileSpec docFileSpec;
|
||||
if (NS_SUCCEEDED(diskDoc->GetFileSpec(docFileSpec)))
|
||||
{
|
||||
char *name = docFileSpec.GetLeafName();
|
||||
if (name)
|
||||
|
Loading…
Reference in New Issue
Block a user