diff options
author | jammm | 2015-02-22 02:02:41 +0530 |
---|---|---|
committer | jammm | 2015-02-22 02:54:45 +0530 |
commit | 6ca8d22fb100f2b3f3549b8785801ffd470135b9 (patch) | |
tree | 397f7628a22335d06936ad4a54c33962714a2ff9 /gui/error.cpp | |
parent | 4f6f0fb148133df632104071185efa049c7d5fea (diff) | |
download | scummvm-rg350-6ca8d22fb100f2b3f3549b8785801ffd470135b9.tar.gz scummvm-rg350-6ca8d22fb100f2b3f3549b8785801ffd470135b9.tar.bz2 scummvm-rg350-6ca8d22fb100f2b3f3549b8785801ffd470135b9.zip |
WINTERMUTE: Fixed parentFolder name check when testing for "language"/"languages", Fix bug #6655 (Dead City - hotspot text issue)
Fixed Wintermute incorretly parsing folder names with trailing \
(Windows-only issue)
It seems that calling getParent returns trailing '\' which is absent on POSIX based file systems but not on Windows. This causes Wintermute to load outline_red2.font from russian.dcp, which is not desired. This is fixed by calling it->getName() directly, which returns the folder name (without the trailing '\').
Diffstat (limited to 'gui/error.cpp')
0 files changed, 0 insertions, 0 deletions