diff options
author | Travis Howell | 2006-12-11 08:31:32 +0000 |
---|---|---|
committer | Travis Howell | 2006-12-11 08:31:32 +0000 |
commit | 983954821c60847c5382aa87df631b1aa135938d (patch) | |
tree | e1d8fc8eb8c5bd6a8af7aa0f379cba1d1b1a0cd5 | |
parent | b00e143d74a1f0685f95438b0b8f263cd28951d4 (diff) | |
download | scummvm-rg350-983954821c60847c5382aa87df631b1aa135938d.tar.gz scummvm-rg350-983954821c60847c5382aa87df631b1aa135938d.tar.bz2 scummvm-rg350-983954821c60847c5382aa87df631b1aa135938d.zip |
Fix typo in initial _scaleBuffer check
svn-id: r24840
-rw-r--r-- | graphics/dxa_player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/dxa_player.cpp b/graphics/dxa_player.cpp index c2c0b66208..dc4ad5551c 100644 --- a/graphics/dxa_player.cpp +++ b/graphics/dxa_player.cpp @@ -127,7 +127,7 @@ bool DXAPlayer::loadFile(const char *filename) { if (_scaleMode != S_NONE) { _scaledBuffer = (uint8 *)malloc(_frameSize); - if (_scaledBuffer) + if (!_scaledBuffer) error("Error allocating scale buffer (size %d)", _frameSize); } |