mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user