From 920a55280a28ce38b98045f797067e285395bb6e Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sat, 26 Mar 2022 16:21:39 +0100 Subject: Fixed alt/cstr.h (short string optimized), so that it can be used in containers. Had to change some API in csview to make it play with that. --- examples/utf8replace_c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/utf8replace_c.c') diff --git a/examples/utf8replace_c.c b/examples/utf8replace_c.c index e04f2cb8..49680ecd 100644 --- a/examples/utf8replace_c.c +++ b/examples/utf8replace_c.c @@ -14,7 +14,7 @@ int main() { ); printf("%s\n", hello.str); - csview sv = csview_from_s(hello); + csview sv = csview_from_s(&hello); c_foreach (c, csview, sv) printf(c_PRIsv ",", c_ARGsv(c.codep)); } -- cgit v1.2.3