From 21978b25a784b952528aa63b246a7c043631fe88 Mon Sep 17 00:00:00 2001 From: Chris Spiegel Date: Thu, 3 Nov 2022 09:26:01 -0700 Subject: [PATCH] Remove unused function --- garglk/theme.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/garglk/theme.cpp b/garglk/theme.cpp index adbbfcfe8..537f81af8 100644 --- a/garglk/theme.cpp +++ b/garglk/theme.cpp @@ -103,18 +103,6 @@ struct ThemeStyles { styles[i].bg = colors[i].bg; } } - - static ThemeStyles from(const style_t *styles) { - auto colors = make_array(ColorPair{white, black}); - - for (int i = 0; i < style_NUMSTYLES; i++) - { - colors[i].fg = styles[i].fg; - colors[i].bg = styles[i].bg; - } - - return {colors}; - } }; struct Theme {