aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-23 06:23:29 +0000
committerTorbjörn Andersson2003-09-23 06:23:29 +0000
commit0ac7aa06719a185d4468bfca6bbb98c80b4f6b86 (patch)
tree6148d6d05c36a092346626680109c03d0cf55556 /sword2
parentbd6eece09385fc1090f5e679da3bfb2b2475c7a2 (diff)
downloadscummvm-rg350-0ac7aa06719a185d4468bfca6bbb98c80b4f6b86.tar.gz
scummvm-rg350-0ac7aa06719a185d4468bfca6bbb98c80b4f6b86.tar.bz2
scummvm-rg350-0ac7aa06719a185d4468bfca6bbb98c80b4f6b86.zip
whitespace fixes
svn-id: r10365
Diffstat (limited to 'sword2')
-rw-r--r--sword2/maketext.cpp2
-rw-r--r--sword2/resman.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/sword2/maketext.cpp b/sword2/maketext.cpp
index c697a15e35..4b93044b70 100644
--- a/sword2/maketext.cpp
+++ b/sword2/maketext.cpp
@@ -251,7 +251,7 @@ mem* BuildTextSprite(uint8 *sentence, uint32 fontRes, uint8 pen, _lineInfo *line
// spriteHeight = tot height of char lines + tot height of separating
// lines
- spriteHeight = charHeight * noOfLines + line_spacing*(noOfLines - 1);
+ spriteHeight = charHeight * noOfLines + line_spacing * (noOfLines - 1);
// total size (no of pixels)
sizeOfSprite = spriteWidth * spriteHeight;
diff --git a/sword2/resman.cpp b/sword2/resman.cpp
index 8d52a8dd3c..2c715eb9b7 100644
--- a/sword2/resman.cpp
+++ b/sword2/resman.cpp
@@ -662,7 +662,7 @@ void resMan::Res_close(uint32 res) { //Tony30May96
}
}
-uint32 resMan::Res_fetch_len( uint32 res ) { //Tony27Jan96
+uint32 resMan::Res_fetch_len(uint32 res) { //Tony27Jan96
// returns the total file length of a resource - i.e. all headers are
// included too
@@ -1178,7 +1178,7 @@ void resMan::CacheNewCluster(uint32 newCluster) {
uint8 *loadingBar;
_cdtEntry *cdt;
- text_spr = MakeTextSprite( FetchTextLine(res_man.Res_open(2283), 8) + 2, 640, 187, speech_font_id);
+ text_spr = MakeTextSprite(FetchTextLine(res_man.Res_open(2283), 8) + 2, 640, 187, speech_font_id);
frame = (_frameHeader*) text_spr->ad;