about summary refs log tree commit diff stats
path: root/text.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-03-17 22:17:23 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-03-17 22:17:23 -0700
commit6709b394fba8dbc8cdfaaf3a9461e79ce7b0c2e0 (patch)
tree044d33b611085c7ac334731e129df59124cea885 /text.lua
parent675d1cbbdf026313d682086e1652a69540f18334 (diff)
downloadtext.love-6709b394fba8dbc8cdfaaf3a9461e79ce7b0c2e0.tar.gz
more bugfix
Don't crash on showing the log browser.
Diffstat (limited to 'text.lua')
-rw-r--r--text.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.lua b/text.lua
index 6a1ef2d..35b30c4 100644
--- a/text.lua
+++ b/text.lua
@@ -672,7 +672,7 @@ function Text.snap_cursor_to_bottom_of_screen(State)
 --?   print('to2: =>', top2.line, top2.screen_line, top2.screen_pos)
   -- slide to start of screen line
   top2.screen_pos = 1  -- start of screen line
---?   print('snap', State.screen_top1.line, State.screen_top1.pos, State.screen_top1.posB, State.cursor1.line, State.cursor1.pos, State.screen_bottom1.line, State.screen_bottom1.pos)
+--?   print('snap', State.screen_top1.line, State.screen_top1.pos, State.cursor1.line, State.cursor1.pos, State.screen_bottom1.line, State.screen_bottom1.pos)
 --?   print('cursor pos '..tostring(State.cursor1.pos)..' is on the #'..tostring(top2.screen_line)..' screen line down')
   local y = App.screen.height - State.line_height
   -- duplicate some logic from love.draw