mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: 98b3f1e501
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-11-05 (Sat, 05 Nov 2011)
------------------
This commit was generated by Migit
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