diff --git a/src/basic/locale-util.h b/src/basic/locale-util.h index f50d2c8500..3430eb6ee1 100644 --- a/src/basic/locale-util.h +++ b/src/basic/locale-util.h @@ -98,3 +98,7 @@ static inline void locale_variables_freep(char*(*l)[_VARIABLE_LC_MAX]) { static inline const char *special_glyph_check_mark(bool b) { return b ? special_glyph(SPECIAL_GLYPH_CHECK_MARK) : special_glyph(SPECIAL_GLYPH_CROSS_MARK); } + +static inline const char *special_glyph_check_mark_space(bool b) { + return b ? special_glyph(SPECIAL_GLYPH_CHECK_MARK) : " "; +}