commit 6d73f317febe34650e1ab03702021f986fc366e7
parent 95576e165810b564e55da4b67a7636615b804c81
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Wed, 22 Sep 2021 17:48:52 -0700
Fix previous command
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aps/command.c b/aps/command.c
@@ -186,7 +186,7 @@ aps_next(struct aps *aps, int s, int argc, char **argv)
char *
aps_previous(struct aps *aps, int s, int argc, char **argv)
{
- return findplay(aps, argv, argc, FIND_REVERSE);
+ return findplay(aps, aps->next, arglen(aps->next), FIND_REVERSE);
}
char *