Fix typo

Nathan Sobo created

Change summary

gpui/src/platform/mac/fonts.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

gpui/src/platform/mac/fonts.rs 🔗

@@ -231,7 +231,7 @@ impl FontSystemState {
             let mut utf8_ix = 0;
             let mut utf16_ix = 0;
             for (run_len, font_id) in font_runs {
-                let utf8_end = utf16_ix + run_len;
+                let utf8_end = utf8_ix + run_len;
                 let utf16_start = utf16_ix;
                 while utf8_ix < utf8_end {
                     let (next_utf8_ix, next_utf16_ix) = utf8_and_utf16_ixs.next().unwrap();