Browse code

clang-format

Sigrid Solveig Haflínudóttir authored on 03/11/2021 22:05:47
Showing 1 changed files
... ...
@@ -54,7 +54,7 @@ ppu_write(Ppu *p, Uint8 layer, Uint16 x, Uint16 y, Uint8 color)
54 54
 		Uint8 pix = p->pixels[row];
55 55
 		Uint8 mask = ~(0x3 << shift);
56 56
 		Uint8 pixnew = (pix & mask) + (color << shift);
57
-		if(pix != pixnew){
57
+		if(pix != pixnew) {
58 58
 			p->pixels[row] = pixnew;
59 59
 			p->reqdraw = 1;
60 60
 		}