about summary refs log tree commit diff stats
path: root/source.lua
diff options
context:
space:
mode:
Diffstat (limited to 'source.lua')
-rw-r--r--source.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/source.lua b/source.lua
index c3bd85b..0d12415 100644
--- a/source.lua
+++ b/source.lua
@@ -172,7 +172,7 @@ function source.initialize_window_geometry(em_width)
   App.screen.width = 40*em_width
   App.screen.flags.resizable = true
   App.screen.flags.minwidth = math.min(App.screen.width, 200)
-  App.screen.flags.minheight = math.min(App.screen.width, 200)
+  App.screen.flags.minheight = math.min(App.screen.height, 200)
   App.screen.resize(App.screen.width, App.screen.height, App.screen.flags)
   print('initializing source position')
   if Settings == nil then Settings = {} end