fix blank characters check in QChar::isSpace()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2020-02-24 17:09:43 +00:00
parent 4083396e1e
commit 6391c52b86

View file

@ -615,11 +615,11 @@ bool QChar::isSpace() const
case U_PARAGRAPH_SEPARATOR: case U_PARAGRAPH_SEPARATOR:
return true; return true;
default: default:
return false;
}
// special characters check // special characters check
return u_isblank(ucs); return u_isblank(ucs);
} }
return false;
}
/*! /*!
Returns true if the character is a mark (Mark_* categories); Returns true if the character is a mark (Mark_* categories);