diff --git a/src/main/lkt.c b/src/main/lkt.c index 99a92990030656a1fa572719556cb6e099294faf..17bef1b5d2393b6fb1cc3cae2826c09d5945ca53 100644 --- a/src/main/lkt.c +++ b/src/main/lkt.c @@ -741,6 +741,7 @@ queue_list__(struct lkt_cmd_args *args) /* Get the content of the queue. */ + continuation = labs(continuation); song_index = MAX(song_index + 1, 1); snprintf(buff, LKT_MESSAGE_MAX - 1, "%ld:%ld", song_index, song_index + continuation - 1); buff[LKT_MESSAGE_MAX - 1] = '\0';