about summary refs log tree commit diff stats
path: root/src/config/theme.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/theme.c')
-rw-r--r--src/config/theme.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config/theme.c b/src/config/theme.c
index 04074f15..c76de248 100644
--- a/src/config/theme.c
+++ b/src/config/theme.c
@@ -671,6 +671,12 @@ theme_free_string(char *str)
 }
 
 int
+theme_hash_attrs(const char *str)
+{
+    return COLOR_PAIR(color_pair_cache_hash_str(str));
+}
+
+int
 theme_attrs(theme_item_t attrs)
 {
     int result = 0;