diff options
| author | Eugene Sandulenko | 2019-06-26 23:32:35 +0200 | 
|---|---|---|
| committer | Eugene Sandulenko | 2019-09-03 17:17:01 +0200 | 
| commit | 406185408f2024b39ff700ae752dc743f64e7db0 (patch) | |
| tree | 454ad9cb54b3b5a1bdc656b510cb4ff44342b382 /engines | |
| parent | c0413509f1d2f2eda6b5f5e93b6d4dc0b304603e (diff) | |
| download | scummvm-rg350-406185408f2024b39ff700ae752dc743f64e7db0.tar.gz scummvm-rg350-406185408f2024b39ff700ae752dc743f64e7db0.tar.bz2 scummvm-rg350-406185408f2024b39ff700ae752dc743f64e7db0.zip  | |
JANITORIAL: Remove trailing whitespaces
Diffstat (limited to 'engines')
| -rw-r--r-- | engines/hdb/file-manager.cpp | 14 | ||||
| -rw-r--r-- | engines/hdb/window.cpp | 2 | 
2 files changed, 7 insertions, 9 deletions
diff --git a/engines/hdb/file-manager.cpp b/engines/hdb/file-manager.cpp index 78889274bb..66543db4cd 100644 --- a/engines/hdb/file-manager.cpp +++ b/engines/hdb/file-manager.cpp @@ -40,7 +40,7 @@ bool FileMan::openMPC(const Common::String &filename) {  	}  	_dataHeader.id = _mpcFile->readUint32BE(); -	 +  	if (_dataHeader.id == MKTAG('M', 'P', 'C', 'C')) {  		_compressed = true;  		debug("COMPRESSED FILE"); @@ -48,13 +48,13 @@ bool FileMan::openMPC(const Common::String &filename) {  	}  	else if (_dataHeader.id == MKTAG('M', 'P', 'C', 'U')) {  		_compressed = false; -		 +  		offset = _mpcFile->readUint32LE();  		_mpcFile->seek((int32)offset);  		// Note: The MPC archive format assumes the offset to be uint32, -		// but Common::File::seek() takes the offset as int32.  -		 +		// but Common::File::seek() takes the offset as int32. +  		_dataHeader.dirSize = _mpcFile->readUint32LE();  		debug(8, "MPC: Read %d entries", _dataHeader.dirSize); @@ -65,7 +65,7 @@ bool FileMan::openMPC(const Common::String &filename) {  			for (int i = 0; i < 64; i++) {  				dirEntry->filename[i] = _mpcFile->readByte();  			} -			 +  			dirEntry->offset = _mpcFile->readUint32LE();  			dirEntry->length = _mpcFile->readUint32LE();  			dirEntry->ulength = _mpcFile->readUint32LE(); @@ -73,11 +73,11 @@ bool FileMan::openMPC(const Common::String &filename) {  			_dir.push_back(dirEntry);  		} -		 +  		return true;  	} -	 +  	error("Invalid MPC File.");  	return false; diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp index 12810f8a87..51307692ef 100644 --- a/engines/hdb/window.cpp +++ b/engines/hdb/window.cpp @@ -289,10 +289,8 @@ void Window::drawBorder(int x, int y, int width, int height, bool guyTalking) {  						else if ((i == wide - 1) && j < high)  							_gGfxR->draw(x + i * 16, y + j * 16);  						else -  							// Most drawn = middle block  							_gGfxM->draw(x + i * 16, y + j * 16); -  					}  				}  			}  | 
