diff options
author | Strangerke | 2011-06-26 12:07:42 +0200 |
---|---|---|
committer | Strangerke | 2011-06-26 12:07:42 +0200 |
commit | a06a75b9a41fb3ef9da2c7420ee9dee257c89cca (patch) | |
tree | 94366e3dcc6063c28e045e59293af11024689637 /engines/cge/text.cpp | |
parent | d5fdd094294becb49ef2adf0af00c4814c6efefe (diff) | |
download | scummvm-rg350-a06a75b9a41fb3ef9da2c7420ee9dee257c89cca.tar.gz scummvm-rg350-a06a75b9a41fb3ef9da2c7420ee9dee257c89cca.tar.bz2 scummvm-rg350-a06a75b9a41fb3ef9da2c7420ee9dee257c89cca.zip |
CGE: Implement ForceExt and RCrypt. Little style cleanup.
Diffstat (limited to 'engines/cge/text.cpp')
-rw-r--r-- | engines/cge/text.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/cge/text.cpp b/engines/cge/text.cpp index ee94983352..a8bf0d0cf8 100644 --- a/engines/cge/text.cpp +++ b/engines/cge/text.cpp @@ -48,7 +48,7 @@ TEXT::TEXT(const char *fname, int size) { if (!INI_FILE::Exist(FileName)) error("No talk (%s)\n", FileName); - for (Size = 0; Size < size; Size ++) { + for (Size = 0; Size < size; Size++) { Cache[Size].Ref = 0; Cache[Size].Txt = NULL; } @@ -63,7 +63,7 @@ TEXT::~TEXT(void) { void TEXT::Clear(int from, int upto) { HAN *p, * q; - for (p = Cache, q = p + Size; p < q; p ++) { + for (p = Cache, q = p + Size; p < q; p++) { if (p->Ref && p->Ref >= from && p->Ref < upto) { p->Ref = 0; delete p->Txt; @@ -76,7 +76,7 @@ void TEXT::Clear(int from, int upto) { int TEXT::Find(int ref) { HAN *p, * q; int i = 0; - for (p = Cache, q = p + Size; p < q; p ++) { + for (p = Cache, q = p + Size; p < q; p++) { if (p->Ref == ref) break; else |