Mercurial > dwindows
diff dw.h @ 2648:2362cb4b7ef9
iOS: Fix another _dw_main_iteration() loop issue.
Also center seems to be a differnet value on iOS and Mac ARM.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 31 Aug 2021 09:18:04 +0000 |
parents | dcd71b04cc46 |
children | e3a95940c18f |
line wrap: on
line diff
--- a/dw.h Tue Aug 31 08:57:46 2021 +0000 +++ b/dw.h Tue Aug 31 09:18:04 2021 +0000 @@ -416,7 +416,7 @@ #define DW_DT_STRIKEOUT 0 #define DW_DT_TEXTATTRS 0 #define DW_DT_EXTERNALLEADING 0 -#ifdef __aarch64__ +#if defined(__aarch64__) || defined(__IOS__) #define DW_DT_CENTER 1 /* NSTextAlignmentCenter */ #define DW_DT_RIGHT 2 /* NSTextAlignmentRight */ #else