diff options
author | Paweł Kołodziejski | 2009-02-21 15:30:47 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2009-02-21 15:30:47 +0000 |
commit | 03769a6d561168fa54af647785321564056483f1 (patch) | |
tree | ea2e21950adb5f950f7296bf6de83b293f749f4b /engines/sci/exereader.cpp | |
parent | 98fc4c20c5910e92a76cfbdb39c12752b4850b65 (diff) | |
download | scummvm-rg350-03769a6d561168fa54af647785321564056483f1.tar.gz scummvm-rg350-03769a6d561168fa54af647785321564056483f1.tar.bz2 scummvm-rg350-03769a6d561168fa54af647785321564056483f1.zip |
formating
svn-id: r38700
Diffstat (limited to 'engines/sci/exereader.cpp')
-rw-r--r-- | engines/sci/exereader.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/engines/sci/exereader.cpp b/engines/sci/exereader.cpp index 469af3a0ff..260d5704b1 100644 --- a/engines/sci/exereader.cpp +++ b/engines/sci/exereader.cpp @@ -160,7 +160,7 @@ uint getBit(Common::SeekableReadStream *input) { _bits = input->readByte(); _bits |= input->readByte() << 8; - if (_bitCount == -1) { /* special case for first bit word */ + if (_bitCount == -1) { // special case for first bit word bit = _bits & 1; _bits >>= 1; } @@ -268,12 +268,9 @@ Common::String readSciVersionFromExe(Common::SeekableReadStream *exeStream) { accept = 0; if (isalnum(ch)) { - accept = (state != 1 - && state != 5 - && state != 9); + accept = (state != 1 && state != 5 && state != 9); } else if (ch == '.') { - accept = (state == 1 - || state == 5); + accept = (state == 1 || state == 5); } else if (state == 9) { // Terminate string currentString[9] = 0; |