mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
src/ssd/ssd.c: fix incorrect condition in ssd_part_contains()
This commit is contained in:
parent
a75301dae5
commit
e934c7a417
1 changed files with 1 additions and 1 deletions
|
|
@ -342,7 +342,7 @@ ssd_part_contains(enum ssd_part_type whole, enum ssd_part_type candidate)
|
||||||
}
|
}
|
||||||
if (whole == LAB_SSD_PART_TOP) {
|
if (whole == LAB_SSD_PART_TOP) {
|
||||||
return candidate == LAB_SSD_PART_CORNER_TOP_LEFT
|
return candidate == LAB_SSD_PART_CORNER_TOP_LEFT
|
||||||
|| candidate == LAB_SSD_PART_CORNER_BOTTOM_LEFT;
|
|| candidate == LAB_SSD_PART_CORNER_TOP_RIGHT;
|
||||||
}
|
}
|
||||||
if (whole == LAB_SSD_PART_RIGHT) {
|
if (whole == LAB_SSD_PART_RIGHT) {
|
||||||
return candidate == LAB_SSD_PART_CORNER_TOP_RIGHT
|
return candidate == LAB_SSD_PART_CORNER_TOP_RIGHT
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue