code formatting

This commit is contained in:
Agnis Aldiņš "NeZvērs 2025-11-15 15:45:11 +02:00
parent 8bcc5f55e3
commit f0a356b977

View File

@ -83,7 +83,8 @@ int main(void)
} }
// Skip top row, it is already cleared // Skip top row, it is already cleared
for (int y = 1; y < imageHeight; ++y){ for (int y = 1; y < imageHeight; ++y)
{
for (int x = 0; x < imageWidth; ++x) for (int x = 0; x < imageWidth; ++x)
{ {
unsigned i = x + y * imageWidth; unsigned i = x + y * imageWidth;
@ -104,7 +105,8 @@ int main(void)
} }
// Update screenImage with palette colors // Update screenImage with palette colors
for (int y = 1; y < imageHeight; ++y){ for (int y = 1; y < imageHeight; ++y)
{
for (int x = 0; x < imageWidth; ++x) for (int x = 0; x < imageWidth; ++x)
{ {
unsigned i = x + y * imageWidth; unsigned i = x + y * imageWidth;