remove whitespace from ep number if coming from continue function

This commit is contained in:
ksyasuda 2022-02-08 18:27:16 -08:00
parent 86a4e187a6
commit 2221d550c0

View File

@ -878,7 +878,7 @@ main() {
episode=${ep_choice_end:-$ep_choice_start} episode=${ep_choice_end:-$ep_choice_start}
choice='' choice=''
while :; do while :; do
inf "Currently playing $selection_id episode" "$episode/$last_ep_number" inf "Currently playing $selection_id episode" "${episode// /}/$last_ep_number"
if ((episode != last_ep_number)); then if ((episode != last_ep_number)); then
menu_line_alternate "next episode" "n" menu_line_alternate "next episode" "n"
fi fi