diff options
| author | Tyge Løvset <[email protected]> | 2022-06-10 11:29:17 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-06-10 11:29:17 +0200 |
| commit | 8883fc8108428878d3d6291ba8981cf6df72499c (patch) | |
| tree | 9fbdc79019501714dc984c1fbd5eb2c7ea979bb4 /examples/utf8replace_c.c | |
| parent | f1d09dfcc7570e69eb6e9688b736f7b031b22b2d (diff) | |
| download | STC-modified-8883fc8108428878d3d6291ba8981cf6df72499c.tar.gz STC-modified-8883fc8108428878d3d6291ba8981cf6df72499c.zip | |
utf8 fixes and improvements. Some api changes.
Diffstat (limited to 'examples/utf8replace_c.c')
| -rw-r--r-- | examples/utf8replace_c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/utf8replace_c.c b/examples/utf8replace_c.c index c38b37e4..52eb5bd2 100644 --- a/examples/utf8replace_c.c +++ b/examples/utf8replace_c.c @@ -8,7 +8,7 @@ int main() { cstr_replace_sv( &hello, - csview_substr_u8(cstr_sv(&hello), 7, 1), + csview_u8substr(cstr_sv(&hello), 7, 1), c_sv("🐨") ); printf("%s\n", cstr_str(&hello)); |
