From aa2ce32c418b3f4be43fe2b30f98c27f00416f99 Mon Sep 17 00:00:00 2001 From: gambas Date: Fri, 18 Feb 2022 09:06:35 +0100 Subject: [PATCH] Add ALIGN_IS_NORMAL() macro for alignment constants. [GB.GEOM] * NEW: Add ALIGN_IS_NORMAL() macro for alignment constants. --- main/lib/geom/gb.geom.h | 1 + 1 file changed, 1 insertion(+) diff --git a/main/lib/geom/gb.geom.h b/main/lib/geom/gb.geom.h index 7f80b8e60..e4e9f6ea8 100644 --- a/main/lib/geom/gb.geom.h +++ b/main/lib/geom/gb.geom.h @@ -49,6 +49,7 @@ enum #define ALIGN_IS_LEFT(_align) (((_align) & 0xF) == 0x1 || (((_align) & 0xF) == 0x0 && !GB.System.IsRightToLeft())) #define ALIGN_IS_RIGHT(_align) (((_align) & 0xF) == 0x2 || (((_align) & 0xF) == 0x0 && GB.System.IsRightToLeft())) #define ALIGN_IS_CENTER(_align) (((_align) & 0xF) == 0x3) +#define ALIGN_IS_NORMAL(_align) (((_align) & 0xF) == 0x0) typedef struct {