From 6033d3e6350314f3c7d9c9c79449a265d8a6e0f8 Mon Sep 17 00:00:00 2001 From: satbaby Date: Wed, 6 Apr 2011 21:28:03 +0000 Subject: [PATCH] stringinput test fix git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1379 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/widget/stringinput.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/gui/widget/stringinput.cpp b/src/gui/widget/stringinput.cpp index bceccca9b..cef2cea80 100644 --- a/src/gui/widget/stringinput.cpp +++ b/src/gui/widget/stringinput.cpp @@ -379,6 +379,7 @@ int CStringInput::exec( CMenuTarget* parent, const std::string & ) for(int count=strlen(value)-1;countshowMenuText(1, value, selected+1); - strncpy(dispval, value, size); - } +// if ( strncmp(value, dispval, size) != 0) +// { +// CVFD::getInstance()->showMenuText(1, value, selected+1); +// strncpy(dispval, value, size); +// } g_RCInput->getMsgAbsoluteTimeout(&msg, &data, &timeoutEnd, true );