diff options
author | Max Horn | 2009-06-28 19:58:11 +0000 |
---|---|---|
committer | Max Horn | 2009-06-28 19:58:11 +0000 |
commit | bb28ed7b7a10535c4f3f275b3bef3643f9ce46d3 (patch) | |
tree | 821b47e102fe11e6f0a1801271a3e7decd60e81b /backends/platform/PalmOS/Src | |
parent | a882a6f46779768f15d38e350781785d975e5007 (diff) | |
download | scummvm-rg350-bb28ed7b7a10535c4f3f275b3bef3643f9ce46d3.tar.gz scummvm-rg350-bb28ed7b7a10535c4f3f275b3bef3643f9ce46d3.tar.bz2 scummvm-rg350-bb28ed7b7a10535c4f3f275b3bef3643f9ce46d3.zip |
Changed OSystem::setWindowCaption to expect ISO LATIN 1 encoded input;
also intentionally broke WinCE and Symbian ports (in an obvious way that
can be undo by commenting out some text) -- hopefully this will get the
maintainers' attention during the next release cycle, unlike my emails
svn-id: r41932
Diffstat (limited to 'backends/platform/PalmOS/Src')
-rw-r--r-- | backends/platform/PalmOS/Src/be_os5.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/PalmOS/Src/be_os5.cpp b/backends/platform/PalmOS/Src/be_os5.cpp index aa578dad9c..91e9818c02 100644 --- a/backends/platform/PalmOS/Src/be_os5.cpp +++ b/backends/platform/PalmOS/Src/be_os5.cpp @@ -115,6 +115,10 @@ void OSystem_PalmOS5::setFeatureState(Feature f, bool enable) { } void OSystem_PalmOS5::setWindowCaption(const char *caption) { +FIXME/TODO: Convert caption from ISO Latin 1 to "right" encoding ? +If the output encoding is unclear or conversion impossible, +then one could just skip over any chars > 0x7F and display the rest + Err e; Char buf[64]; Coord w, y, h = FntLineHeight() + 2; |