diff options
| author | Max Horn | 2011-06-20 00:59:48 +0200 | 
|---|---|---|
| committer | Max Horn | 2011-06-20 00:59:48 +0200 | 
| commit | 88913c0139ac6d1dfb356d3048702b7bc8ef4079 (patch) | |
| tree | a7436d20333c28f87f2ed0bc15c743b5eb8144ee /engines/dreamweb/dreamweb.cpp | |
| parent | 3853e76202b132e769ae149720eca931cd87104a (diff) | |
| download | scummvm-rg350-88913c0139ac6d1dfb356d3048702b7bc8ef4079.tar.gz scummvm-rg350-88913c0139ac6d1dfb356d3048702b7bc8ef4079.tar.bz2 scummvm-rg350-88913c0139ac6d1dfb356d3048702b7bc8ef4079.zip | |
ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
Diffstat (limited to 'engines/dreamweb/dreamweb.cpp')
| -rw-r--r-- | engines/dreamweb/dreamweb.cpp | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index 7e1b9833dc..8be02dc90e 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -44,7 +44,7 @@  namespace DreamWeb { -DreamWebEngine::DreamWebEngine(OSystem *syst, const DreamWebGameDescription *gameDesc) :  +DreamWebEngine::DreamWebEngine(OSystem *syst, const DreamWebGameDescription *gameDesc) :  	Engine(syst), _gameDescription(gameDesc), _rnd("dreamweb") {  	_context.engine = this; @@ -223,7 +223,7 @@ Common::Error DreamWebEngine::run() {  	_context.__start();  	_context.data.byte(DreamGen::DreamGenContext::kQuitrequested) = 0; -	 +  	getTimerManager()->removeTimerProc(vSyncInterrupt);  	return Common::kNoError; @@ -428,7 +428,7 @@ void DreamWebEngine::playSound(uint8 channel, uint8 id, uint8 loops) {  		type = Audio::Mixer::kSFXSoundType;  	} else if (speech)  		type = Audio::Mixer::kSpeechSoundType; -	else  +	else  		type = Audio::Mixer::kMusicSoundType;  	Audio::SeekableAudioStream *raw; @@ -445,7 +445,7 @@ void DreamWebEngine::playSound(uint8 channel, uint8 id, uint8 loops) {  		memcpy(buffer, data.data.begin() + sample.offset, sample.size);  		raw = Audio::makeRawStream( -			buffer,  +			buffer,  			sample.size, 22050, Audio::FLAG_UNSIGNED);  	} else {  		uint8 *buffer = (uint8 *)malloc(_speechData.size()); @@ -453,9 +453,9 @@ void DreamWebEngine::playSound(uint8 channel, uint8 id, uint8 loops) {  		if (!buffer)  			error("out of memory: cannot allocate memory for sound(%u bytes)", _speechData.size());  		raw = Audio::makeRawStream( -			buffer,  +			buffer,  			_speechData.size(), 22050, Audio::FLAG_UNSIGNED); -		 +  	}  	Audio::AudioStream *stream; | 
