Browse Source

Add attribute to allow unused util fn fg_bg

master
cancel 5 years ago
parent
commit
c0f93693b2
  1. 2
      term_util.h

2
term_util.h

@ -34,7 +34,7 @@ typedef enum {
A_reverse = A_REVERSE,
} Term_attr;
static ORCA_FORCE_INLINE
static ORCA_FORCE_INLINE ORCA_OK_IF_UNUSED
attr_t fg_bg(Color_name fg, Color_name bg) {
return COLOR_PAIR(1 + fg * Colors_count + bg);
}

Loading…
Cancel
Save