- using wrongly ispunct instead of isPunctuation
This commit is contained in:
Federico Hernandez 2011-09-05 22:36:57 +02:00
parent 4346001c94
commit 15c939c3d7

View file

@ -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;