mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
systrace: convert input strings using local codepage.
The message handler uses C strings so no information about encoding is present. Since an 8 bit encoding is used convert them to make the systrace window show non-ASCII characters properly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29206 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a2e4a51825
commit
3419422c23
1 changed files with 1 additions and 2 deletions
|
@ -99,8 +99,7 @@ void SysTrace::debug(QtMsgType type, const char* msg)
|
|||
if(lastmessage != msg) {
|
||||
lastmessage = msg;
|
||||
flush();
|
||||
debugbuffer.append(msg);
|
||||
debugbuffer.append("\n");
|
||||
debugbuffer.append(QString::fromLocal8Bit(msg) + "\n");
|
||||
#if !defined(NODEBUG)
|
||||
fprintf(stderr, "%s\n", msg);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue