diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-23 18:26:21 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-10-23 18:28:52 +0200 |
| commit | b9758f564fca3703b2a2920be80b8b02c6209099 (patch) | |
| tree | 842287def2b2171e6db2872d44ca86bee76d54dc /src | |
| parent | 975ebaaf8b3f2155a19728885202a18cbce16320 (diff) | |
FLUID: Fixes two minor bugs
* Fl_Grid mixed up gap_ro_ vs. gap_col_ once
* Code formatting warning
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Grid.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Grid.cxx b/src/Fl_Grid.cxx index ac4f9f224..9910bb069 100644 --- a/src/Fl_Grid.cxx +++ b/src/Fl_Grid.cxx @@ -276,7 +276,7 @@ void Fl_Grid::draw_grid() { for (int c = 0; c < cols_ - 1; c++) { - int gap = Cols_[c].gap_ >= 0 ? Cols_[c].gap_ : gap_row_; + int gap = Cols_[c].gap_ >= 0 ? Cols_[c].gap_ : gap_col_; x0 += Cols_[c].w_; if (gap == 0) { fl_yxline(x0, y0, y1); |
