mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
fix x<>y
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1317 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -198,8 +198,8 @@ int CScreenSetup::exec(CMenuTarget* parent, const std::string &)
|
|||||||
case CRCInput::RC_right:
|
case CRCInput::RC_right:
|
||||||
{
|
{
|
||||||
int max = (selected == 0) ? 200 : frameBuffer->getScreenWidth(true) - 1;
|
int max = (selected == 0) ? 200 : frameBuffer->getScreenWidth(true) - 1;
|
||||||
if (y_coord[selected] >= max)
|
if (x_coord[selected] >= max)
|
||||||
y_coord[selected] = max;
|
x_coord[selected] = max;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
unpaintBorder(selected);
|
unpaintBorder(selected);
|
||||||
|
Reference in New Issue
Block a user