From 411f3cc97ab53b50e1c75be8ed5911b5ea2d810c Mon Sep 17 00:00:00 2001 From: satbaby Date: Sun, 20 Mar 2011 15:20:52 +0000 Subject: [PATCH] fix x<>y git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1317 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/screensetup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/screensetup.cpp b/src/gui/screensetup.cpp index 7f0ac97db..c004b564d 100644 --- a/src/gui/screensetup.cpp +++ b/src/gui/screensetup.cpp @@ -198,8 +198,8 @@ int CScreenSetup::exec(CMenuTarget* parent, const std::string &) case CRCInput::RC_right: { int max = (selected == 0) ? 200 : frameBuffer->getScreenWidth(true) - 1; - if (y_coord[selected] >= max) - y_coord[selected] = max; + if (x_coord[selected] >= max) + x_coord[selected] = max; else { unpaintBorder(selected);