diff options
author | pgen <p.gen.progs@gmail.com> | 2024-02-06 00:00:25 +0100 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2024-02-06 00:00:46 +0100 |
commit | 85d783c4e669e14adccc5c009ca71180c630458c (patch) | |
tree | 6139a42b7f785c8d40782d8e46346e8969689d54 /smenu.h | |
parent | 482b39a82661f9cf5d1ff2e9d6457d156b177f2f (diff) |
Take UTF-8 spaces into account for empty strings
Diffstat (limited to 'smenu.h')
-rwxr-xr-x | smenu.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); |