Fix column number calc

(cherry picked from commit 0a8b875751c9469a52548730539dfd4b4fc51acc)
This commit is contained in:
berniev
2022-05-23 19:29:07 +10:00
committed by wwmayer
parent 79de5318cb
commit 5f82cfb39f
3 changed files with 29 additions and 38 deletions

View File

@@ -142,7 +142,7 @@ bool PropertySheet::isValidAlias(const std::string &candidate)
const boost::sub_match<const char *> rowstr = cm[2];
// A valid cell address?
if (App::validRow(rowstr.str()) >= 0 && App::validColumn(colstr.str()) >= 0)
if (App::validRow(rowstr.str()) >= 0 && App::validColumn(colstr.str()))
return false;
}
return true;