diff options
author | Max Horn | 2010-05-26 15:41:50 +0000 |
---|---|---|
committer | Max Horn | 2010-05-26 15:41:50 +0000 |
commit | 7b8837cda7b3c44d5e283ef8bb9ebe6e943ebb27 (patch) | |
tree | 3c09738ef7481037a517180754a7063f0ba821ac | |
parent | 8b54efd8a62a68a0544dfc5438c4efe42c0f79f1 (diff) | |
download | scummvm-rg350-7b8837cda7b3c44d5e283ef8bb9ebe6e943ebb27.tar.gz scummvm-rg350-7b8837cda7b3c44d5e283ef8bb9ebe6e943ebb27.tar.bz2 scummvm-rg350-7b8837cda7b3c44d5e283ef8bb9ebe6e943ebb27.zip |
SCI: Simplify appending string 'seeker' to sierraId
svn-id: r49244
-rw-r--r-- | engines/sci/resource.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index af0f08b17a..3535e36f77 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -2358,9 +2358,7 @@ Common::String ResourceManager::findSierraGameId() { seeker = heap->data + READ_UINT16(heap->data + READ_UINT16(exportPtr) + nameSelector * 2); } - do { - sierraId += *(seeker++); - } while (*seeker); + sierraId += (const char *)seeker; return sierraId; } |