From 98b3f1e501e6f6870c815f20053ca4d314c40447 Mon Sep 17 00:00:00 2001 From: seife Date: Sat, 5 Nov 2011 11:36:55 +0000 Subject: [PATCH] neutrino: width of Show(Hint|Msg)UTF is int, not pointer git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1821 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/neutrino.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 0ed6ca65c..c52fc6804 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3018,12 +3018,12 @@ _repeat: timeout = text.substr( pos+9, text.length()+1 ); text[pos] = '\0'; } - + if (msg == NeutrinoMessages::EVT_POPUP) - ShowHintUTF(LOCALE_MESSAGEBOX_INFO, text.c_str(), NULL, atoi(timeout.c_str())); // UTF-8 + ShowHintUTF(LOCALE_MESSAGEBOX_INFO, text.c_str(), 0, atoi(timeout.c_str())); else if (msg == NeutrinoMessages::EVT_EXTMSG) - ShowMsgUTF(LOCALE_MESSAGEBOX_INFO, text, CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO, NULL, atoi(timeout.c_str())); // UTF-8 - + ShowMsgUTF(LOCALE_MESSAGEBOX_INFO, text, CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO, 0, atoi(timeout.c_str())); + } delete (unsigned char*) data; return messages_return::handled;