diff options
| -rw-r--r-- | sword2/maketext.cpp | 2 | ||||
| -rw-r--r-- | sword2/resman.cpp | 4 |
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; |
