[1mdiff --git a/src/ui/labelwidget.c b/src/ui/labelwidget.c[m
[1mindex a9a2d033..d6cc31cb 100644[m
[1m--- a/src/ui/labelwidget.c[m
[1m+++ b/src/ui/labelwidget.c[m
[36m@@ -30,6 +30,8 @@[m [mSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */[m
#include "keys.h"[m
#include "touch.h"[m
[m
[32m+[m[32m#include <SDL_version.h>[m
[32m+[m
struct Impl_LabelWidget {[m
iWidget widget;[m
iString srcLabel;[m
[36m@@ -295,8 +297,16 @@[m [mstatic void draw_LabelWidget_(const iLabelWidget *d) {[m
iRect frameRect = adjusted_Rect(rect, zero_I2(), init1_I2(-1));[m
if (isButton) {[m
iInt2 points[] = {[m
[31m- bottomLeft_Rect(frameRect), topLeft_Rect(frameRect), topRight_Rect(frameRect),[m
[31m- bottomRight_Rect(frameRect), bottomLeft_Rect(frameRect)[m
[32m+[m[32m bottomLeft_Rect(frameRect),[m
[32m+[m[32m topLeft_Rect(frameRect),[m
[32m+[m[32m topRight_Rect(frameRect),[m
[32m+[m[32m#if SDL_VERSION_ATLEAST(2, 0, 16) && defined (iPlatformApple)[m
[32m+[m[32m /* A very curious regression in SDL 2.0.16 on macOS. */[m
[32m+[m[32m addX_I2(bottomRight_Rect(frameRect), -1),[m
[32m+[m[32m#else[m
[32m+[m[32m bottomRight_Rect(frameRect),[m
[32m+[m[32m#endif[m
[32m+[m[32m bottomLeft_Rect(frameRect)[m
};[m
drawLines_Paint(&p, points + 2, 3, frame2);[m
drawLines_Paint([m
text/plain
This content has been proxied by September (ba2dc).