summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-07-21 22:45:41 +0200
committerTyge Løvset <[email protected]>2020-07-21 22:45:41 +0200
commite0ebdfb05aa543eac980920949bc993e1bec931b (patch)
treedbd7b18b62942dec4e7a6f87610c7a4911c2f27e /examples
parent4724135f988ef5de088dbf4594451643aaec2bdf (diff)
downloadSTC-modified-e0ebdfb05aa543eac980920949bc993e1bec931b.tar.gz
STC-modified-e0ebdfb05aa543eac980920949bc993e1bec931b.zip
renamed cstr_makeFmt to cstr_from
Diffstat (limited to 'examples')
-rw-r--r--examples/demos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/demos.c b/examples/demos.c
index c10cace9..f09e0fbc 100644
--- a/examples/demos.c
+++ b/examples/demos.c
@@ -19,7 +19,7 @@ void stringdemo1()
cstr_replace(&cs, 0, "seven", "four");
printf("%s.\n", cs.str);
- cstr_take(&cs, cstr_makeFmt("%s *** %s", cs.str, cs.str));
+ cstr_take(&cs, cstr_from("%s *** %s", cs.str, cs.str));
printf("%s.\n", cs.str);
printf("find: %s\n", cs.str + cstr_find(cs, 0, "four"));