mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-28 22:08:12 +09:00
config: Use float64 within the autosave processing
This commit is contained in:
@@ -357,7 +357,7 @@ func main() {
|
||||
}
|
||||
|
||||
if a := config.GetGlobalOption("autosave").(float64); a > 0 {
|
||||
config.SetAutoTime(int(a))
|
||||
config.SetAutoTime(a)
|
||||
config.StartAutoSave()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user