Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiegel committed Nov 3, 2022
1 parent 7240781 commit 21978b2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions garglk/theme.cpp
Expand Up @@ -103,18 +103,6 @@ struct ThemeStyles {
styles[i].bg = colors[i].bg;
}
}

static ThemeStyles from(const style_t *styles) {
auto colors = make_array<style_NUMSTYLES>(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 {
Expand Down

0 comments on commit 21978b2

Please sign in to comment.