diff --git a/include/textset.cpp b/include/textset.cpp index 48245d774..a2bbd0628 100755 --- a/include/textset.cpp +++ b/include/textset.cpp @@ -96,8 +96,9 @@ int TText_recordset::find_column(const char* column) const for (const char* c = column; isalpha(*c); c++) { n *= 26; - n += toupper(*c)-'A'; + n += toupper(*c)-'@'; } + n--; } } return n;