fix build

This commit is contained in:
2025-12-01 18:05:03 -08:00
parent 4b6e70e2c5
commit d2e202fc0d
2 changed files with 2 additions and 3 deletions

View File

@@ -276,7 +276,7 @@ Buffer::MarkDirty()
bool
Buffer::IsDirty()
{
return this->dirty;
return this->status == FileStatus::FileStatusOK && this->dirty;
}
@@ -360,4 +360,3 @@ Buffer::clearContents()
this->contents.clear();
}

View File

@@ -60,5 +60,5 @@ Frame::Refresh()
Buffer::FileStatus
Frame::Flush()
{
return this->bmap[this->activeBuffer]->Flush();
return this->bmap[this->activeBuffer]->Flush(nullptr);
}