diff options
author | Paul Gilbert | 2019-06-22 09:02:06 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-06-22 14:40:50 -0700 |
commit | 1249c335392d7cc2d5492a5bc8718b9a034fbb11 (patch) | |
tree | bd1475e7304db33f04c3914c8e49c2bd299f6faa /engines/glk/alan2/decode.cpp | |
parent | 2cf0320569c80c8e389e44d1b0463792ddf8e7cd (diff) | |
download | scummvm-rg350-1249c335392d7cc2d5492a5bc8718b9a034fbb11.tar.gz scummvm-rg350-1249c335392d7cc2d5492a5bc8718b9a034fbb11.tar.bz2 scummvm-rg350-1249c335392d7cc2d5492a5bc8718b9a034fbb11.zip |
GLK: ALAN2: Change all EOF to EOD that is case to uint
Diffstat (limited to 'engines/glk/alan2/decode.cpp')
-rw-r--r-- | engines/glk/alan2/decode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/alan2/decode.cpp b/engines/glk/alan2/decode.cpp index 2955c37745..4f89380272 100644 --- a/engines/glk/alan2/decode.cpp +++ b/engines/glk/alan2/decode.cpp @@ -30,14 +30,14 @@ namespace Alan2 { /* Bit output */ static int decodeBuffer; /* Bits to be input */ static int bitsToGo; /* Bits still in buffer */ -static int garbageBits; /* Bits past EOF */ +static int garbageBits; /* Bits past EOD */ static int inputBit() { int bit; if (!bitsToGo) { /* More bits available ? */ decodeBuffer = txtfil->readByte(); /* No, so get more */ - if (decodeBuffer == EOF) { + if (decodeBuffer == EOD) { garbageBits++; if (garbageBits > VALUEBITS - 2) syserr("Error in encoded data file."); |