aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/resources.cpp
diff options
context:
space:
mode:
authorStrangerke2012-02-25 12:44:37 +0100
committerStrangerke2012-02-25 12:44:37 +0100
commit9279b25694f16a6166c7eaf677682caeeaed5d7e (patch)
treef827b5ad7e5ed2a89085ce2b261adbd46443a6fc /engines/tsage/resources.cpp
parent3a3c1eec5374a7d85a18ee55cab0891cd250529b (diff)
downloadscummvm-rg350-9279b25694f16a6166c7eaf677682caeeaed5d7e.tar.gz
scummvm-rg350-9279b25694f16a6166c7eaf677682caeeaed5d7e.tar.bz2
scummvm-rg350-9279b25694f16a6166c7eaf677682caeeaed5d7e.zip
TSAGE: JANITORIAL: Remove trailing spaces
Diffstat (limited to 'engines/tsage/resources.cpp')
-rw-r--r--engines/tsage/resources.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/tsage/resources.cpp b/engines/tsage/resources.cpp
index 0afae0042f..5987d78067 100644
--- a/engines/tsage/resources.cpp
+++ b/engines/tsage/resources.cpp
@@ -326,7 +326,7 @@ uint32 TLib::getResourceStart(ResourceType resType, uint16 resNum, uint16 rlbNum
// Load in the section index
loadSection((*i).fileOffset);
-
+
// Scan for an entry for the given Id
ResourceEntry *re = NULL;
ResourceList::iterator iter;
@@ -341,7 +341,7 @@ uint32 TLib::getResourceStart(ResourceType resType, uint16 resNum, uint16 rlbNum
if (!re || re->isCompressed)
error("Invalid resource Id #%d", rlbNum);
- // Return the resource entry as well as the file offset
+ // Return the resource entry as well as the file offset
entry = *re;
return _sections.fileOffset + entry.fileOffset;
}
@@ -441,7 +441,7 @@ bool TLib::getMessage(int resNum, int lineNum, Common::String &result, bool supp
while (lineNum-- > 0) {
srcP += strlen(srcP) + 1;
-
+
if (srcP >= endP) {
if (suppressErrors)
return false;
@@ -537,7 +537,7 @@ Common::String ResourceManager::getMessage(int resNum, int lineNum, bool suppres
* Open up the given resource file using a passed file object. If the desired entry is found
* in the index, return the index entry for it, and move the file to the start of the resource
*/
-bool ResourceManager::scanIndex(Common::File &f, ResourceType resType, int rlbNum, int resNum,
+bool ResourceManager::scanIndex(Common::File &f, ResourceType resType, int rlbNum, int resNum,
ResourceEntry &resEntry) {
// Load the root section index
ResourceList resList;