about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-07-11 08:36:42 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-07-11 08:36:42 -0700
commit52ba030eaa7e984aab969359d19ba48b4c483271 (patch)
tree20f27c02d96a8c5dc5cf690e26fbefa6e0f0a84d
parentbca7f8259802d6f6751dbe265dc0b27d7fac7589 (diff)
downloadview.love-52ba030eaa7e984aab969359d19ba48b4c483271.tar.gz
drop an unused arg
-rw-r--r--run.lua4
-rw-r--r--source.lua4
2 files changed, 4 insertions, 4 deletions
diff --git a/run.lua b/run.lua
index dea19cd..2d86627 100644
--- a/run.lua
+++ b/run.lua
@@ -80,14 +80,14 @@ end
 function run.initialize_default_settings()
   local font_height = 20
   love.graphics.setFont(love.graphics.newFont(font_height))
-  run.initialize_window_geometry(App.width('m'))
+  run.initialize_window_geometry()
   Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right)
   Editor_state.font_height = font_height
   Editor_state.line_height = math.floor(font_height*1.3)
   Settings = run.settings()
 end
 
-function run.initialize_window_geometry(em_width)
+function run.initialize_window_geometry()
   -- Initialize window width/height and make window resizable.
   --
   -- I get tempted to have opinions about window dimensions here, but they're
diff --git a/source.lua b/source.lua
index 4768865..a3fd217 100644
--- a/source.lua
+++ b/source.lua
@@ -159,14 +159,14 @@ end
 function source.initialize_default_settings()
   local font_height = 20
   love.graphics.setFont(love.graphics.newFont(font_height))
-  source.initialize_window_geometry(App.width('m'))
+  source.initialize_window_geometry()
   Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right)
   Editor_state.filename = 'run.lua'
   Editor_state.font_height = font_height
   Editor_state.line_height = math.floor(font_height*1.3)
 end
 
-function source.initialize_window_geometry(em_width)
+function source.initialize_window_geometry()
   -- Initialize window width/height and make window resizable.
   --
   -- I get tempted to have opinions about window dimensions here, but they're