summaryrefslogtreecommitdiffstats
path: root/src/basic/locale-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/locale-util.h')
-rw-r--r--src/basic/locale-util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/locale-util.h b/src/basic/locale-util.h
index bebdf97aa8..558c5a898b 100644
--- a/src/basic/locale-util.h
+++ b/src/basic/locale-util.h
@@ -90,3 +90,7 @@ void locale_variables_free(char* l[_VARIABLE_LC_MAX]);
static inline void locale_variables_freep(char*(*l)[_VARIABLE_LC_MAX]) {
locale_variables_free(*l);
}
+
+static inline const char *special_glyph_check_mark(bool b) {
+ return b ? special_glyph(SPECIAL_GLYPH_CHECK_MARK) : special_glyph(SPECIAL_GLYPH_CROSS_MARK);
+}