BUTTON_NONE broke the last_button filter

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2181 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-09-05 05:28:15 +00:00
parent 1257733b0a
commit b19d80992c

View file

@ -945,6 +945,7 @@ int wps_show(void)
if (id3)
wps_refresh(id3,0,false);
}
lastbutton = button;
if(button != BUTTON_NONE)
lastbutton = button;
}
}