summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Grid.cxx2
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);