diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-11-18 12:21:30 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-11-18 12:21:30 -0800 |
commit | de66b015bcfbf4a995b25cc74c5f95d2362760a8 (patch) | |
tree | 2fb180163f064f2a2a2713012b26dcb9a1d74273 /commands.lua | |
parent | a8dc0ee2be9ebbc55f40bbc12b591a6b2d4a0cfe (diff) | |
parent | 007b965b11b681550ee2e2244a2f53e64e88697d (diff) | |
download | view.love-de66b015bcfbf4a995b25cc74c5f95d2362760a8.tar.gz |
Merge lines.love
Diffstat (limited to 'commands.lua')
-rw-r--r-- | commands.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.lua b/commands.lua index a76bae5..1f8e304 100644 --- a/commands.lua +++ b/commands.lua @@ -136,7 +136,7 @@ end function move_candidate_to_front(s) local index = array.find(File_navigation.all_candidates, s) - assert(index) + assert(index, 'file missing from manifest') table.remove(File_navigation.all_candidates, index) table.insert(File_navigation.all_candidates, 1, s) end |