some reformatting (4 of 4)
This commit is contained in:
+3
-2
@@ -761,9 +761,10 @@ selection_size_description(struct selectionvar *sel, char *buf)
|
||||
selection_getbounds(sel, &rect);
|
||||
dx = rect.hx - rect.lx + 1;
|
||||
dy = rect.hy - rect.ly + 1;
|
||||
Sprintf(buf, "%s %i by %i", selection_is_irregular(sel) ? "irregularly shaped"
|
||||
Sprintf(buf, "%s %i by %i",
|
||||
selection_is_irregular(sel) ? "irregularly shaped"
|
||||
: (dx == dy) ? "square"
|
||||
: "rectangular",
|
||||
: "rectangular",
|
||||
dx, dy);
|
||||
return buf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user