diff options
author | pgen <p.gen.progs@gmail.com> | 2016-03-18 23:09:34 +0100 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2016-03-18 23:09:34 +0100 |
commit | cf5d139a2e00c7af8c8557f32e451db4655e02b5 (patch) | |
tree | 7e21b0d859e76bc3087c17952305235c393806c3 | |
parent | 874b657f867b259879a5be31dc3f19772ee44e2c (diff) |
Fix an off-by-one error when using -c and -w together
-rw-r--r-- | smenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5647,7 +5647,7 @@ main(int argc, char *argv[]) /* Sets all columns to the same size when -w and -c are both set */ /* """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""" */ if (win.wide) - for (col_index = 0; col_index < cols_number - 1; col_index++) + for (col_index = 0; col_index < cols_number; col_index++) { col_max_size[col_index] = cols_max_size; col_real_max_size[col_index] = cols_real_max_size; |