diff options
author | jvech <jmvalenciae@unal.edu.co> | 2022-10-11 21:02:28 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2022-10-11 21:02:28 -0500 |
commit | e199ca83f20740a03d790b46f5d910ea709c8c57 (patch) | |
tree | e3d686fa00f1c3cfa991eceef69c59dedb0c7904 /main.c | |
parent | db2ddd0b4a9b375ab0cac69cf76feb1177e6ebd6 (diff) |
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -144,7 +144,9 @@ void draw_options(list *videos, int video_index, int length) clear(); move(0, 0); i = (video_index/ymax) * ymax; - for (i = (video_index/ymax) * ymax; i <= length && getcury(stdscr) < ymax - 1; i++) { + for (i = (video_index/ymax) * ymax; + i <= length && getcury(stdscr) < ymax - 1; + i++) { if (i == video_index) attron(A_REVERSE); else attroff(A_REVERSE); if (!i) continue; |