Fix warning (#1008)
This commit is contained in:
parent
6776f89872
commit
6ed7b56c79
@ -988,7 +988,7 @@ void Fl_Tree_Item::draw(int X, int &Y, int W, Fl_Tree_Item *itemfocus,
|
|||||||
// Note: calculate collapse icon's xywh for possible mouse click detection.
|
// Note: calculate collapse icon's xywh for possible mouse click detection.
|
||||||
// We don't care about items clipped off the viewport; they won't get mouse events.
|
// We don't care about items clipped off the viewport; they won't get mouse events.
|
||||||
//
|
//
|
||||||
int item_y_center = Y+(H/2)|1; // |1: force alignment w/dot pattern
|
int item_y_center = (Y+(H/2))|1; // |1: force alignment w/dot pattern
|
||||||
_collapse_xywh[2] = prefs.openicon_w();
|
_collapse_xywh[2] = prefs.openicon_w();
|
||||||
int &icon_w = _collapse_xywh[2];
|
int &icon_w = _collapse_xywh[2];
|
||||||
_collapse_xywh[0] = X + (icon_w + prefs.connectorwidth())/2 - 3;
|
_collapse_xywh[0] = X + (icon_w + prefs.connectorwidth())/2 - 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user