rename to valid_field_name

This commit is contained in:
qPCR4vir
2019-04-14 01:12:19 +02:00
parent 6b3c02b558
commit 064d59de13
2 changed files with 8 additions and 8 deletions

View File

@@ -141,7 +141,7 @@ namespace nana
void div(std::string div_text); ///< Divides the attached widget into fields.
const std::string& div() const noexcept; ///< Returns div-text that depends on fields status.
static bool check_field_name(const char* name) ///< must begin with _a-zA-Z
static bool valid_field_name(const char* name) ///< must begin with _a-zA-Z
{
return name && (*name == '_' || (('a' <= *name && *name <= 'z') || ('A' <= *name && *name <= 'Z')));
}