fix another crash when increasing font size too much

akkartik
Jan 1, 2024, 6:21 AM
SDTOPZJSY2TDQMJ3GQ2RD6GPPGW7E67ZTNK6Z3RKDRFQY6GWMQGQC

Dependencies

Change contents

  • edit in edit.lua at line 207
    [5.3374]
    [5.3374]
    if State.screen_bottom1.line == nil then
    -- text box is too tiny; we didn't print anything
    State.screen_bottom1 = {line=State.screen_top1.line, pos=State.screen_top1.pos}
    end
  • edit in edit.lua at line 241
    [2.2196]
    [2.2196]
    if State.screen_bottom1.line == nil then
    -- text box is too tiny; we didn't print anything
    State.screen_bottom1 = {line=State.screen_top1.line, pos=State.screen_top1.pos}
    end