newest version

This commit is contained in:
Adrian Schulze committed 2026-10-30 10:12:35 +01:00
commit 5be8b48bd2
4 files changed
+5 -5

No files matched your search

+2 -3
View File
@@ -27,9 +27,8 @@ int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsi
maxLength = findmaxLength(words, wordCount);
// Size of Field!
if (searchFieldLen < maxLength)
sizeOfField = maxLength;
else
sizeOfField = searchFieldLen;
return returnValue;
sizeOfField = searchFieldLen;
initializeField(sizeOfField, salad);
// for all words put them in
for (unsigned int i = 0; i < wordCount; i++){