diff options
author | Miroslav Koskar <mk@mkoskar.com> | 2016-10-24 19:50:58 +0200 |
---|---|---|
committer | Ricardo Constantino <wiiaboo@gmail.com> | 2016-10-25 14:09:48 +0100 |
commit | 6953a1ca2f5650025599a6ec9d57214c58d9c9c4 (patch) | |
tree | 35d37ba95600355e0e0acb125fcd45a2916e7b10 /input/cmd_list.h | |
parent | c8e3ee494cc5ca73f54d5ae24bbf03fc3e42d15d (diff) | |
download | mpv-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 'input/cmd_list.h')
0 files changed, 0 insertions, 0 deletions