diff --git a/src/ui/labelwidget.c b/src/ui/labelwidget.c

index 4dd66a28..1ff6d3b7 100644

--- a/src/ui/labelwidget.c

+++ b/src/ui/labelwidget.c

@@ -347,7 +347,7 @@ static void draw_LabelWidget_(const iLabelWidget *d) {

             bottomRight_Rect(frameRect),

             bottomLeft_Rect(frameRect)

         };

-#if SDL_VERSION_ATLEAST(2, 0, 16)

+#if SDL_COMPILEDVERSION == SDL_VERSIONNUM(2, 0, 16)

         if (isOpenGLRenderer_Window()) {

             /* A very curious regression in SDL 2.0.16. */

             points[3].x--;    

diff --git a/src/ui/paint.c b/src/ui/paint.c

index b92be27e..a91c6f12 100644

--- a/src/ui/paint.c

+++ b/src/ui/paint.c

@@ -108,7 +108,7 @@ void drawRect_Paint(const iPaint *d, iRect rect, int color) {

     { left_Rect(rect),  br.y },

     { left_Rect(rect),  top_Rect(rect) }

 };

-#if SDL_VERSION_ATLEAST(2, 0, 16)

+#if SDL_COMPILEDVERSION == SDL_VERSIONNUM(2, 0, 16)

 if (isOpenGLRenderer_Window()) {

     /* A very curious regression in SDL 2.0.16. */

     edges[3].y--;

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.8/pcdiff/5e29b4d947494ac6617057b9186277a24945a225
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
59.517955 milliseconds
Gemini-to-HTML Time
0.495758 milliseconds

This content has been proxied by September (ba2dc).