diff options
author | B Stack <bgstack15@gmail.com> | 2021-04-05 11:02:07 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2021-04-05 11:02:07 -0400 |
commit | 74361d859354e4416285cd803b1b0075be1fe514 (patch) | |
tree | dafb5e266c513a5ed9863401e62d246742861e0c /wx+/grid.cpp | |
parent | Merge branch '11.7' into 'master' (diff) | |
download | FreeFileSync-74361d859354e4416285cd803b1b0075be1fe514.tar.gz FreeFileSync-74361d859354e4416285cd803b1b0075be1fe514.tar.bz2 FreeFileSync-74361d859354e4416285cd803b1b0075be1fe514.zip |
add upstream 11.9
Diffstat (limited to 'wx+/grid.cpp')
-rw-r--r-- | wx+/grid.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/wx+/grid.cpp b/wx+/grid.cpp index 0111ccf7..ab9babbb 100644 --- a/wx+/grid.cpp +++ b/wx+/grid.cpp @@ -2003,24 +2003,24 @@ std::vector<Grid::ColAttributes> Grid::getColumnConfig() const //get non-visible columns (+ outdated visible ones) std::vector<ColAttributes> output = oldColAttributes_; - auto iterVcols = visibleCols_.begin(); - auto iterVcolsend = visibleCols_.end(); + auto itVcols = visibleCols_.begin(); + auto itVcolsend = visibleCols_.end(); //update visible columns but keep order of non-visible ones! for (ColAttributes& ca : output) if (ca.visible) { - if (iterVcols != iterVcolsend) + if (itVcols != itVcolsend) { - ca.type = iterVcols->type; - ca.stretch = iterVcols->stretch; - ca.offset = iterVcols->offset; - ++iterVcols; + ca.type = itVcols->type; + ca.stretch = itVcols->stretch; + ca.offset = itVcols->offset; + ++itVcols; } else assert(false); } - assert(iterVcols == iterVcolsend); + assert(itVcols == itVcolsend); return output; } |