aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/print.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-12-08 11:12:48 -0800
committerFilippos Karapetis2011-12-08 11:12:48 -0800
commit05fff73c66d70f2f8ce45b6784cf9089b7cd2f71 (patch)
treeb95ef72f135cd92e887bdaeace2bbc6ab9a276ae /engines/dreamweb/print.cpp
parent96360bb153201ccbd0b5748c2f153ae1277258b5 (diff)
parentc8d4f608526f6843bb942f7b8778df68b14f0aba (diff)
downloadscummvm-rg350-05fff73c66d70f2f8ce45b6784cf9089b7cd2f71.tar.gz
scummvm-rg350-05fff73c66d70f2f8ce45b6784cf9089b7cd2f71.tar.bz2
scummvm-rg350-05fff73c66d70f2f8ce45b6784cf9089b7cd2f71.zip
Merge pull request #130 from fingolfin/dreamweb-misc
Dreamweb: convert workoutFrames to c++, some cleanup
Diffstat (limited to 'engines/dreamweb/print.cpp')
-rw-r--r--engines/dreamweb/print.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/print.cpp b/engines/dreamweb/print.cpp
index df89df28ef..dc7ca8a2f7 100644
--- a/engines/dreamweb/print.cpp
+++ b/engines/dreamweb/print.cpp
@@ -35,7 +35,7 @@ void DreamBase::printBoth(const Frame *charSet, uint16 *x, uint16 y, uint8 c, ui
uint8 DreamBase::getNextWord(const Frame *charSet, const uint8 *string, uint8 *totalWidth, uint8 *charCount) {
*totalWidth = 0;
*charCount = 0;
- while(true) {
+ while (true) {
uint8 firstChar = *string;
++string;
++*charCount;
@@ -153,7 +153,7 @@ uint8 DreamBase::printDirect(const uint8** string, uint16 x, uint16 *y, uint8 ma
printChar(charSet, &i, *y, c, nextChar, &width, &height);
data.word(kLastxpos) = i;
--charCount;
- } while(charCount);
+ } while (charCount);
*y += data.word(kLinespacing);
}
}