mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-03 14:40:37 +00:00
Fix IsDirty
This commit is contained in:
parent
4428d893b5
commit
fdceddefe1
1 changed files with 1 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ func (b *Buffer) SaveAs(filename string) error {
|
|||
err := ioutil.WriteFile(filename, []byte(b.text), 0644)
|
||||
if err == nil {
|
||||
b.savedText = b.text
|
||||
b.netInsertions = 0
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue