diff options
author | Max Horn | 2002-12-28 01:57:19 +0000 |
---|---|---|
committer | Max Horn | 2002-12-28 01:57:19 +0000 |
commit | ae5b30df3d67644f341a30997de5192fed8bcbdc (patch) | |
tree | db63a860f15229ec901e9b6d0bedaaf9f6f2435f /scumm/resource.cpp | |
parent | 319facc9c3a54bff3adab663e32f37bddb07c9e9 (diff) | |
download | scummvm-rg350-ae5b30df3d67644f341a30997de5192fed8bcbdc.tar.gz scummvm-rg350-ae5b30df3d67644f341a30997de5192fed8bcbdc.tar.bz2 scummvm-rg350-ae5b30df3d67644f341a30997de5192fed8bcbdc.zip |
get rid of getStringLen and use the more powerful resStrLen instead; moved resStrLen from common/ to scumm/, where it belongs; enhanced resStrLen to suport V8; fixed translateText to support embeded vars (in strings I mean) - it may still not be fully correct but at least is better now; rewrote o6_arrayOps to parallel the V8 version - needs testing
svn-id: r6215
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r-- | scumm/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp index 80433ba2ca..e2d4d77692 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -1477,7 +1477,7 @@ void Scumm::loadPtrToResource(int type, int resindex, byte *source) nukeResource(type, resindex); - len = getStringLen(source); + len = resStrLen(source) + 1; if (len <= 0) return; |