CScanTs: make left/right borders symmetric

Origin commit data
------------------
Branch: ni/coolstream
Commit: f3fada8bff
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2018-02-04 (Sun, 04 Feb 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2018-02-04 18:07:01 +01:00
committed by vanhofen
parent f698b92018
commit 3bb57edaf0

View File

@@ -393,7 +393,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
* and should probably be fixed somewhen... */
neutrino_msg_t CScanTs::handleMsg(neutrino_msg_t msg, neutrino_msg_data_t data)
{
int w = x + width - xpos2;
int w = width - (xpos2 - x) - 10; /* xpos1 -> 10px border on the left, also keep 10px on the right */
//printf("CScanTs::handleMsg: x %d xpos2 %d width %d w %d\n", x, xpos2, width, w);
char buffer[128];
char str[256];