]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - wordlist.c
0.3.1 release.
[onak.git] / wordlist.c
index 71299e12c88fd3e811965bbd337ba8c9ad07fd5b..0c2cb62c8154b22540ce749a940493fcc4c3d572 100644 (file)
@@ -57,7 +57,7 @@ struct ll *makewordlist(struct ll *wordlist, char *word)
                        if (llfind(wordlist, start, 
                                (int (*)(const void *, const void *)) strcmp
                                        ) == NULL) {
                        if (llfind(wordlist, start, 
                                (int (*)(const void *, const void *)) strcmp
                                        ) == NULL) {
-                               wordlist = lladd(wordlist, start);
+                               wordlist = lladdend(wordlist, start);
                        }
                }
        }
                        }
                }
        }