From 36bde53d410012c07c2e9fc543ee49c06443b4d7 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 17 Sep 2022 23:43:14 -0700 Subject: [PATCH] rename --- commands.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands.lua b/commands.lua index ab8184f..870743b 100644 --- a/commands.lua +++ b/commands.lua @@ -53,12 +53,12 @@ function add_hotkey_to_menu(s) end function source.draw_file_navigator() - for i,file in ipairs(File_navigation.candidates) do - if file == 'source' then + for i,filename in ipairs(File_navigation.candidates) do + if filename == 'source' then App.color(Menu_border_color) love.graphics.line(Menu_cursor-10,2, Menu_cursor-10,Menu_status_bar_height-2) end - add_file_to_menu(file, i == File_navigation.index) + add_file_to_menu(filename, i == File_navigation.index) if Menu_cursor >= App.screen.width - 5 then break end