author | Thomas Jansen <mithi@mithi.net> | |
Thu, 29 Oct 2009 09:03:34 +0000 (10:03 +0100) | ||
committer | Thomas Jansen <mithi@mithi.net> | |
Thu, 29 Oct 2009 09:03:34 +0000 (10:03 +0100) | ||
commit | cd928420669ec18e75394ce0cdbc0bfc328307ec | |
tree | 117e4db636120b42f290cd8078e970d45c21bffe | tree | snapshot |
parent | 63343421b198b8d52711795246aa80708c34c0a6 | commit | diff |
screen_browser: removed duplicate line clearing
whline(w, ' ', width); was used to clean the rest of the line. The new
function row_paint_text takes care of that already, so we don't have to do
it twice. We had to switch the default case to row_paint_text as well to
cover all possibilities.
This fixes a bug where the last digit of the playtime of the last visible
row in the browse screen was overwritten with a space character.
whline(w, ' ', width); was used to clean the rest of the line. The new
function row_paint_text takes care of that already, so we don't have to do
it twice. We had to switch the default case to row_paint_text as well to
cover all possibilities.
This fixes a bug where the last digit of the playtime of the last visible
row in the browse screen was overwritten with a space character.
src/screen_browser.c | diff | blob | history |