diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 20:39:36 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 20:39:36 +0300 |
| commit | 71f0b19476adb170c24d6a8de4ab3133701b1aeb (patch) | |
| tree | 4035f3fe33b38782b96cfdde087dd566256eda92 /include/term/unicode/width.h | |
| parent | d505017cec86c000f891b003f5ca3481f5ffae61 (diff) | |
Fix macOS builds on Apple Silicon and Intel
Diffstat (limited to 'include/term/unicode/width.h')
| -rw-r--r-- | include/term/unicode/width.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/term/unicode/width.h b/include/term/unicode/width.h index fc639c8..388ae6c 100644 --- a/include/term/unicode/width.h +++ b/include/term/unicode/width.h @@ -32,7 +32,7 @@ static inline int unicode_width(uint32_t cp) return -1; if (IN_TABLE(zero_width, cp)) return 0; - return IN_TABLE(wide, cp) ? 2 : 1; + return IN_TABLE(unicode_wide, cp) ? 2 : 1; } static inline bool unicode_extended_pictographic(uint32_t cp) |
