diff options
author | Jordi Vilalta Prat | 2008-01-27 19:47:41 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2008-01-27 19:47:41 +0000 |
commit | 66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985 (patch) | |
tree | e27aadabecd8dd910884280e6559ff9c94c3d73c /tools/skycpt/cptcompiler.cpp | |
parent | 278857698dc7b1623096fe1ad12511dc4c886c7e (diff) | |
download | scummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.tar.gz scummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.tar.bz2 scummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.zip |
Removed trailing spaces.
svn-id: r30664
Diffstat (limited to 'tools/skycpt/cptcompiler.cpp')
-rw-r--r-- | tools/skycpt/cptcompiler.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/skycpt/cptcompiler.cpp b/tools/skycpt/cptcompiler.cpp index 326390ce8d..0572bc1537 100644 --- a/tools/skycpt/cptcompiler.cpp +++ b/tools/skycpt/cptcompiler.cpp @@ -244,7 +244,7 @@ void processSymlinks(FILE *inf, CptObj *destArr, uint16 *baseLists) { assertEmpty(from); dlinkNames[dlinkCount] = (char*)malloc(strlen(cptName) + 1); strcpy(dlinkNames[dlinkCount], cptName); - + dofgets(line, 1024, inf); assert((line[0] == '\t') && (line[1] == '\t') && (line[2] == '-') && (line[3] == '>')); char *stopCh; @@ -256,7 +256,7 @@ void processSymlinks(FILE *inf, CptObj *destArr, uint16 *baseLists) { dlinks[dlinkCount * 2 + 1] = destId; dlinkCount++; - + dofgets(line, 1024, inf); assert(isEndOfObject(line, "SYMLINK", fromId)); } else @@ -303,7 +303,7 @@ void doCompile(FILE *inf, FILE *debOutf, FILE *resOutf, TextFile *cptDef, FILE * if (resCpts[id].data || resCpts[id].dbgName || resCpts[id].len) dataListLen[cnt] = elemCnt + 1; } - + // write the header uint32 rev = 0; fwrite(&rev, 2, 1, debOutf); @@ -432,7 +432,7 @@ void doCompile(FILE *inf, FILE *debOutf, FILE *resOutf, TextFile *cptDef, FILE * pos++; diff[diffDest++] = (uint16)strtoul(pos, &pos, 16); } - assert(diff[diffDest - 1] == 0xFFFF); + assert(diff[diffDest - 1] == 0xFFFF); diffNo++; } } @@ -457,7 +457,7 @@ void doCompile(FILE *inf, FILE *debOutf, FILE *resOutf, TextFile *cptDef, FILE * else { saveIds[numIds] = resId; numIds++; - } + } } printf("%d saveIds\n", numIds); fwrite(&numIds, 2, 1, debOutf); @@ -481,7 +481,7 @@ void doCompile(FILE *inf, FILE *debOutf, FILE *resOutf, TextFile *cptDef, FILE * printf("File %s not found\n", inName); } } - + if (filesExist) { FILE *res288 = fopen("RESET.288", "rb"); fseek(res288, 0, SEEK_END); |