about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-08-21 14:37:14 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-08-21 14:37:54 -0700
commitf57c75f036d9db49a4fe6e30e552fae7e4e12d57 (patch)
tree251b2fdf043661f98d2ee4cc37621cb510f3e472
parent644b888940c6ebc98b23dabd0c34d09146c7e3a8 (diff)
parente2077858f7c4e8837897783cad5aea324352eedf (diff)
downloadview.love-f57c75f036d9db49a4fe6e30e552fae7e4e12d57.tar.gz
Merge text.love
-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)