summaryrefslogtreecommitdiffstats
path: root/smenu.h
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2024-02-06 00:00:25 +0100
committerpgen <p.gen.progs@gmail.com>2024-02-06 00:00:46 +0100
commit85d783c4e669e14adccc5c009ca71180c630458c (patch)
tree6139a42b7f785c8d40782d8e46346e8969689d54 /smenu.h
parent482b39a82661f9cf5d1ff2e9d6457d156b177f2f (diff)
Take UTF-8 spaces into account for empty strings
Diffstat (limited to 'smenu.h')
-rwxr-xr-xsmenu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/smenu.h b/smenu.h
index 9994b54..c242ab1 100755
--- a/smenu.h
+++ b/smenu.h
@@ -822,3 +822,9 @@ get_clicked_index(win_t *win,
void
align_word(word_t *word, alignment_t alignment, size_t prerfix, char sp);
+
+int
+isempty_non_utf8(const unsigned char * s);
+
+int
+isempty_utf8(const unsigned char * s);