aboutsummaryrefslogtreecommitdiff
path: root/common/rational.cpp
diff options
context:
space:
mode:
authorThierry Crozat2010-11-13 23:27:13 +0000
committerThierry Crozat2010-11-13 23:27:13 +0000
commit4e357549d57c1d820e320461450d52e36d10f477 (patch)
tree04874813de72b155b3a5650e1ee3a944a5d6112f /common/rational.cpp
parentf4af4d2366fe0c3994da5186d5d232b353fd1b25 (diff)
downloadscummvm-rg350-4e357549d57c1d820e320461450d52e36d10f477.tar.gz
scummvm-rg350-4e357549d57c1d820e320461450d52e36d10f477.tar.bz2
scummvm-rg350-4e357549d57c1d820e320461450d52e36d10f477.zip
COMMON: Fix TranslationManager
Revision 54206 broke translations support because it uncovered a bug in the TranslationManager when reading the translations.dat file. In that file all the stored string lengths include the terminating 0 but Common::String expect a length without the terminating 0. Therefore all String objects created from reading the translations.dat file had an incorrect size. This caused the font file names to be wrong after adding the charset. svn-id: r54235
Diffstat (limited to 'common/rational.cpp')
0 files changed, 0 insertions, 0 deletions