From ac906663d802896f20936b2f31220923493b9666 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Fri, 1 May 2020 18:00:37 -0700 Subject: [PATCH] Woops -> --- platform_mac/mac_4ed.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform_mac/mac_4ed.mm b/platform_mac/mac_4ed.mm index 43c1c360..a6be5b3d 100644 --- a/platform_mac/mac_4ed.mm +++ b/platform_mac/mac_4ed.mm @@ -916,7 +916,7 @@ mac_toggle_fullscreen(void){ } - (void)insertText:(NSString*)text{ - u32 len = [characters length]; + u32 len = [text length]; Scratch_Block scratch(mac_vars.tctx); u16 *utf16 = push_array(scratch, u16, len); [text getCharacters:utf16 range:NSMakeRange(0, len)];