Commit a58100fc authored by Felix Yan's avatar Felix Yan

Correct typos in xcbutils.h

parent f24f2bd5
......@@ -948,14 +948,14 @@ public:
if (!hasAspect()) {
return QSize(1, INT_MAX);
}
// prevent devision by zero
// prevent division by zero
return QSize(m_sizeHints->minAspect[0], qMax(m_sizeHints->minAspect[1], 1));
}
QSize maxAspect() const {
if (!hasAspect()) {
return QSize(INT_MAX, 1);
}
// prevent devision by zero
// prevent division by zero
return QSize(m_sizeHints->maxAspect[0], qMax(m_sizeHints->maxAspect[1], 1));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment