mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-05 06:30:28 +09:00
Fix IsDirty
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user