Code

screen_play: Fixed the scrolling in the playlist screen.
authorPatrick Hallen <patrick.hallen@rwth-aachen.de>
Fri, 4 Sep 2009 21:00:54 +0000 (23:00 +0200)
committerPatrick Hallen <patrick.hallen@rwth-aachen.de>
Fri, 4 Sep 2009 21:00:54 +0000 (23:00 +0200)
commit793851b4f65e4b19a59d60e5fa1a68a98b359ca5
tree8dad3ee9c61cc5466a0d50cb5110f49d6b3a1c06
parent3da4eec23c413240b093c8e9a79f1a1899bab328
screen_play: Fixed the scrolling in the playlist screen.

Since commit 850ad87b588dd6cbb96e5558ee671f2c95cc839d, which introduced
a second column with the length of the song in the playlist screen, scrolling
of the entries would sometimes not work, if the entry was smaller than the
screen, but bigger than the first column.
This easy patch fixes this by using the real size of the first column to decide
whether to start scrolling.
src/screen_play.c