diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-01-20 16:20:01 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-01-20 16:20:01 +0100 |
| commit | 4ddcbc81de60faa0e9922db7df316f3d69cb8df7 (patch) | |
| tree | f1e5d3d092adfb5f7d93d28cd0b0a0f432b932fb /FL/fl_utf8.h | |
| parent | 2c595e8ddec759fb94bf1b06d21dada3a1b70978 (diff) | |
No default values in plain C
Diffstat (limited to 'FL/fl_utf8.h')
| -rw-r--r-- | FL/fl_utf8.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/fl_utf8.h b/FL/fl_utf8.h index 41e59c648..bd61ab804 100644 --- a/FL/fl_utf8.h +++ b/FL/fl_utf8.h @@ -57,7 +57,7 @@ FL_EXPORT int fl_utf8len(char c); FL_EXPORT int fl_utf8len1(char c); /* OD: returns the byte length of a UTF-8 text */ -FL_EXPORT int fl_utf8strlen(const char *text, int len=-1); +FL_EXPORT int fl_utf8strlen(const char *text, int len); /* OD: returns the number of Unicode chars in the UTF-8 string */ FL_EXPORT int fl_utf_nb_char(const unsigned char *buf, int len); |
