about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-08-21 14:36:08 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-08-21 14:36:21 -0700
commite2077858f7c4e8837897783cad5aea324352eedf (patch)
treea65542128471c0589fa85971a70be7e6b304e717 /main.lua
parent08b7318c0d35fbcd0a951e4cc6b3ce504234100e (diff)
parent038f054ede880a8494b5cfc59ab77db00b6ddfe0 (diff)
downloadview.love-e2077858f7c4e8837897783cad5aea324352eedf.tar.gz
Merge lines.love
Bring forks up to date.
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 19901b4..471de1e 100644
--- a/main.lua
+++ b/main.lua
@@ -119,7 +119,7 @@ function App.filedropped(file)
     save_to_disk(Editor_state)
   end
   -- clear the slate for the new file
-  App.initialize_globals()  -- in particular, forget all undo history
+  App.initialize_globals()
   Editor_state.filename = file:getFilename()
   file:open('r')
   Editor_state.lines = load_from_file(file)