From aae460623d511c975bb0661449dad495bb2b8ac3 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Tue, 3 Jul 2018 15:07:36 +0200 Subject: [PATCH] Replace _set_at by _push --- example/ex-dict04.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/ex-dict04.c b/example/ex-dict04.c index 4bd857b0..aa7f8a91 100644 --- a/example/ex-dict04.c +++ b/example/ex-dict04.c @@ -12,7 +12,7 @@ int main(void) M_LET(word, STRING_OPLIST) M_LET(wordcount, DICT_SET_OPLIST(dict_str, STRING_OPLIST)) { while (string_fget_word(word, " \t\n,.!;:?", stdin)) - dict_str_set_at(wordcount, word); + dict_str_push(wordcount, word); printf ("Words: %zu\n", dict_str_size(wordcount)); } }