diff --git a/src/Nibbler.cpp b/src/Nibbler.cpp index 8c7380bb9..b50ddf7f0 100644 --- a/src/Nibbler.cpp +++ b/src/Nibbler.cpp @@ -973,7 +973,7 @@ bool Nibbler::getWord (std::string& result) if (i < _length) { while (!isdigit (_input[i]) && - !ispunct (_input[i]) && + !isPunctuation (_input[i]) && !isspace (_input[i])) { ++i;