From b0f8744c4aad4391f34f7affcaa27f6082a6d9af Mon Sep 17 00:00:00 2001
From: John Lorentzson <john_lorentzson@yahoo.com>
Date: Thu, 17 Apr 2025 18:42:53 +0200
Subject: [PATCH] Replace nice struct init syntax with elder-friendly

---
 src/Backends/Rendering/Software.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/Backends/Rendering/Software.cpp b/src/Backends/Rendering/Software.cpp
index 572fc06b..cce7a35f 100644
--- a/src/Backends/Rendering/Software.cpp
+++ b/src/Backends/Rendering/Software.cpp
@@ -170,7 +170,11 @@ static void computeCheapRects(RenderBackend_Surface* surface) {
         for(unsigned int rx = 0; rx < rcolumns; rx++) {
             unsigned int px = rx * 16;
             unsigned int py = ry * 16;
-            RenderBackend_Rect rect = { .left = px, .top = py, .right = px + 16, .bottom = py + 16 };
+            RenderBackend_Rect rect;
+            rect.left = px;
+            rect.top = py;
+            rect.right = px + 16;
+            rect.bottom = py + 16;
             if(rectUsesColorKey(surface, &rect) == false) {
                 unsigned int rectOrigin = (px << 16) | py;
                 surface->cheapRectangles->insert(rectOrigin);