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 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();
} }

View File

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