[Scummvm-git-logs] scummvm master -> 9ee7215d4fd539049d487c63be05b40c30252a1f

aquadran aquadran at gmail.com
Thu Nov 12 11:07:29 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
9ee7215d4f GRAPHICS: Fixed logic typo "_format.aLoss = 8" -> "_format.aLoss == 8"


Commit: 9ee7215d4fd539049d487c63be05b40c30252a1f
    https://github.com/scummvm/scummvm/commit/9ee7215d4fd539049d487c63be05b40c30252a1f
Author: Paweł Kołodziejski (aquadran at users.sourceforge.net)
Date: 2020-11-12T12:07:22+01:00

Commit Message:
GRAPHICS: Fixed logic typo "_format.aLoss = 8" -> "_format.aLoss == 8"

Changed paths:
    graphics/pixelbuffer.cpp


diff --git a/graphics/pixelbuffer.cpp b/graphics/pixelbuffer.cpp
index 306cf14cbe..4701266a47 100644
--- a/graphics/pixelbuffer.cpp
+++ b/graphics/pixelbuffer.cpp
@@ -94,7 +94,7 @@ void PixelBuffer::copyBuffer(int thisFrom, int otherFrom, int length, const Pixe
 	    buf._format.rLoss == _format.rLoss &&
 	    buf._format.gLoss == _format.gLoss &&
 	    buf._format.bLoss == _format.bLoss && (
-		_format.aLoss = 8 ||
+		_format.aLoss == 8 ||
 		buf._format.aLoss == _format.aLoss
 	    )
 	) {




More information about the Scummvm-git-logs mailing list