summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-10-07 22:19:36 +0200
committerTyge Løvset <[email protected]>2022-10-07 22:19:36 +0200
commit5fb5ed08250b5ad4eadd6e7a9fdc44f4519b15ff (patch)
tree8fd0bfb5e9f7f062aec7a31ef32aa29a245ab1fc /docs
parent0bb5902e347c6b503c80ba6d6e74dc880b1bc736 (diff)
parent12d854b17371903253cd54e8cbb1a947b637de83 (diff)
downloadSTC-modified-5fb5ed08250b5ad4eadd6e7a9fdc44f4519b15ff.tar.gz
STC-modified-5fb5ed08250b5ad4eadd6e7a9fdc44f4519b15ff.zip
Merge branch 'master' of github.com:tylov/STC
Diffstat (limited to 'docs')
-rw-r--r--docs/ccommon_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ccommon_api.md b/docs/ccommon_api.md
index 1cdc56cb..32f2f3dc 100644
--- a/docs/ccommon_api.md
+++ b/docs/ccommon_api.md
@@ -298,7 +298,7 @@ if (i.ref) printf("%d\n", *i.ref);
// Search map for a string containing "hello" and erase it:
cmap_str_iter it, it1 = ..., it2 = ...;
-c_find_in(it, csmap_str, it1, it2, cstr_contains(it.ref, "hello"));
+c_find_if(it, csmap_str, it1, it2, cstr_contains(it.ref, "hello"));
if (it.ref) cmap_str_erase_at(&map, it);
// Erase all strings containing "hello":