fix build
This commit is contained in:
@@ -276,7 +276,7 @@ Buffer::MarkDirty()
|
|||||||
bool
|
bool
|
||||||
Buffer::IsDirty()
|
Buffer::IsDirty()
|
||||||
{
|
{
|
||||||
return this->dirty;
|
return this->status == FileStatus::FileStatusOK && this->dirty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -360,4 +360,3 @@ Buffer::clearContents()
|
|||||||
this->contents.clear();
|
this->contents.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user