Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
a58100fc
Commit
a58100fc
authored
Sep 25, 2020
by
Felix Yan
Browse files
Correct typos in xcbutils.h
parent
f24f2bd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
xcbutils.h
View file @
a58100fc
...
...
@@ -948,14 +948,14 @@ public:
if
(
!
hasAspect
())
{
return
QSize
(
1
,
INT_MAX
);
}
// prevent d
e
vision by zero
// prevent d
i
vision 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 d
e
vision by zero
// prevent d
i
vision by zero
return
QSize
(
m_sizeHints
->
maxAspect
[
0
],
qMax
(
m_sizeHints
->
maxAspect
[
1
],
1
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment