From a449ad8ed865d4d7519f435812d4b332aefe5602 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 20 Jun 2025 09:20:50 +0100 Subject: [PATCH] Keep `-vet` happy --- vendor/kb_text_shape/kb_text_shape_procs.odin | 2 +- vendor/kb_text_shape/kb_text_shape_types.odin | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vendor/kb_text_shape/kb_text_shape_procs.odin b/vendor/kb_text_shape/kb_text_shape_procs.odin index bd598d5c4..8880aeccf 100644 --- a/vendor/kb_text_shape/kb_text_shape_procs.odin +++ b/vendor/kb_text_shape/kb_text_shape_procs.odin @@ -6,7 +6,7 @@ when ODIN_OS == .Windows { } } else { foreign import lib { - "kb_text_shape.a" + "kb_text_shape.a", } } diff --git a/vendor/kb_text_shape/kb_text_shape_types.odin b/vendor/kb_text_shape/kb_text_shape_types.odin index 592766100..d25d826d1 100644 --- a/vendor/kb_text_shape/kb_text_shape_types.odin +++ b/vendor/kb_text_shape/kb_text_shape_types.odin @@ -840,7 +840,7 @@ glyph_flag :: enum u32 { LIGATURE = 29, MULTIPLE_SUBSTITUTION = 30, -}; +} GLYPH_FEATURE_MASK :: glyph_flags{.ISOL, .FINA, .FIN2, .FIN3, .MEDI, .MED2, .INIT, .LJMO, .VJMO, .TJMO, .RPHF, .BLWF, .HALF, .PSTF, .ABVF, .PREF, .NUMR, .FRAC, .DNOM, .CFAR} @@ -1782,7 +1782,7 @@ break_state_flag :: enum u32 { SAW_R_AFTER_L = 3, SAW_AL_AFTER_LR = 4, LAST_WAS_BRACKET = 5, -}; +} // In the worst case, a single call to BreakAddCodepoint would generate 4 breaks. // We buffer breaks to reorder them before returning them to the user.