diff options
| author | Greg Ercolano <erco@seriss.com> | 2024-07-09 11:00:52 -0700 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2024-07-09 11:00:52 -0700 |
| commit | 6ed7b56c798eea9ae36cfcc88c33235a26c9932d (patch) | |
| tree | edda9698db57a30f85fc3b06190cafa0a651b17e | |
| parent | 6776f898724467390a04de825110e97a7098237b (diff) | |
Fix warning (#1008)
| -rw-r--r-- | src/Fl_Tree_Item.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Tree_Item.cxx b/src/Fl_Tree_Item.cxx index e451c4de4..1e75822fa 100644 --- a/src/Fl_Tree_Item.cxx +++ b/src/Fl_Tree_Item.cxx @@ -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. // 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(); int &icon_w = _collapse_xywh[2]; _collapse_xywh[0] = X + (icon_w + prefs.connectorwidth())/2 - 3; |
