diff options
Diffstat (limited to 'src/gui/register.cpp')
-rw-r--r-- | src/gui/register.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/register.cpp b/src/gui/register.cpp index 9be44f43..50182de1 100644 --- a/src/gui/register.cpp +++ b/src/gui/register.cpp @@ -250,7 +250,7 @@ bool RegisterDialog::canSubmit() const bool RegisterDialog::isUShort(const std::string &str) { - if (str == "") + if (str.empty()) { return false; } |