summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorMiroslav Koskar <mk@mkoskar.com>2016-10-24 19:50:58 +0200
committerRicardo Constantino <wiiaboo@gmail.com>2016-10-25 14:09:48 +0100
commit6953a1ca2f5650025599a6ec9d57214c58d9c9c4 (patch)
tree35d37ba95600355e0e0acb125fcd45a2916e7b10 /player/command.c
parentc8e3ee494cc5ca73f54d5ae24bbf03fc3e42d15d (diff)
downloadmpv-6953a1ca2f5650025599a6ec9d57214c58d9c9c4.tar.bz2
mpv-6953a1ca2f5650025599a6ec9d57214c58d9c9c4.tar.xz
osc: Fix and simplify limited_list
* Fixes: when on the end of playlist only half of entries are displayed. * Simplifies the logic of limited_list so it's easy to follow. * limited_list's pos parameter is now 1 based which seem more natural. * Few changes to comply with code style thorough the file. * Small format change: "Playlist: (%d/%d):" -> "Playlist [%d/%d]:" "Chapters: (%d/%d):" -> "Chapters [%d/%d]:"
Diffstat (limited to 'player/command.c')
0 files changed, 0 insertions, 0 deletions