mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 11:16:30 +00:00
Missing apostrophe
This commit is contained in:
parent
e4921fad28
commit
6722a89532
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
@ -424,7 +424,7 @@ applybounds(Client *c, struct wlr_box *bbox)
|
|||
c->geom.width = MAX(min.width + (2 * (int)c->bw), c->geom.width);
|
||||
c->geom.height = MAX(min.height + (2 * (int)c->bw), c->geom.height);
|
||||
/* Some clients set their max size to INT_MAX, which does not violate the
|
||||
* protocol but its unnecesary, as they can set their max size to zero. */
|
||||
* protocol but it's unnecesary, as they can set their max size to zero. */
|
||||
if (max.width > 0 && !(2 * c->bw > INT_MAX - max.width)) /* Checks for overflow */
|
||||
c->geom.width = MIN(max.width + (2 * c->bw), c->geom.width);
|
||||
if (max.height > 0 && !(2 * c->bw > INT_MAX - max.height)) /* Checks for overflow */
|
||||
|
|
Loading…
Reference in a new issue