mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
@@ -613,6 +613,8 @@ size_t utf8_console_width(const char *str) {
|
||||
size_t utf8_last_length(const char *s, size_t n) {
|
||||
int r;
|
||||
|
||||
assert(s);
|
||||
|
||||
if (n == SIZE_MAX)
|
||||
n = strlen(s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user