From d597e2711876f1bf9eb9bd61a274d6977a2e3336 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 20 Mar 2024 16:38:21 -0400 Subject: [PATCH] fix style --- LEGO1/omni/src/video/mxdisplaysurface.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/LEGO1/omni/src/video/mxdisplaysurface.cpp b/LEGO1/omni/src/video/mxdisplaysurface.cpp index 2e721b1a..e9a61549 100644 --- a/LEGO1/omni/src/video/mxdisplaysurface.cpp +++ b/LEGO1/omni/src/video/mxdisplaysurface.cpp @@ -527,8 +527,9 @@ void MxDisplaySurface::VTable0x30( MxLong length = ddsd.lPitch; for (MxS32 i = 0; p_height > i; i++) { for (MxS32 j = 0; p_width > j; j++) { - if (*data != 0) + if (*data != 0) { *(MxU8*) surface = *data; + } data++; surface++; } @@ -559,8 +560,9 @@ void MxDisplaySurface::VTable0x30( MxLong length = ddsd.lPitch - (2 * p_width); for (MxS32 i = 0; p_height > i; i++) { for (MxS32 j = 0; p_width > j; j++) { - if (*data != 0) + if (*data != 0) { *(MxU16*) surface = m_16bitPal[*data]; + } data++; surface += 2; }