maximum keyword length is not 16 bytes

This commit is contained in:
FeralChild64 committed 2020-06-24 15:54:30 +02:00
1 parent 74284d39b8
commit fdf4b1cc1d
4 files changed
+13 -10

No files matched your search

+1 -1
View File
@@ -1034,7 +1034,7 @@ void DataSet::validateLists()
// Check mor maximum keyword length
if (stringEntryList.type == ListType::KEYWORDS)
{
if (stringEntry.string.length() > 8) ERROR("keyword cannot be longer than 8 characters");
if (stringEntry.string.length() > 16) ERROR("keyword cannot be longer than 16 characters");
tk__max_keyword_len = std::max(tk__max_keyword_len, (uint8_t) stringEntry.string.length());
}