From b4d28185223a098495cca6904113b0ba665cbb41 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 13 Sep 2023 15:28:08 -0700 Subject: [PATCH] typo in loading emoji font for linux --- src/Surface.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Surface.zig b/src/Surface.zig index 1198e9465..ba657181f 100644 --- a/src/Surface.zig +++ b/src/Surface.zig @@ -300,11 +300,11 @@ pub fn init( // Emoji fallback. We don't include this on Mac since Mac is expected // to always have the Apple Emoji available on the system. if (builtin.os.tag != .macos or font.Discover == void) { - try group.addFace( + _ = try group.addFace( .regular, .{ .loaded = try font.Face.init(font_lib, face_emoji_ttf, font_size) }, ); - try group.addFace( + _ = try group.addFace( .regular, .{ .loaded = try font.Face.init(font_lib, face_emoji_text_ttf, font_size) }, );