author | Olivier Brunel
<jjk@jjacky.com> 2017-01-27 18:08:30 UTC |
committer | Olivier Brunel
<jjk@jjacky.com> 2017-06-18 12:28:18 UTC |
parent | bb14d3d95f609d611549a3741acfbbacbf09e942 |
src/anopa/aa-status.c | +2 | -2 |
diff --git a/src/anopa/aa-status.c b/src/anopa/aa-status.c index 77e04d3..faa8c26 100644 --- a/src/anopa/aa-status.c +++ b/src/anopa/aa-status.c @@ -2,7 +2,7 @@ * anopa - Copyright (C) 2015-2017 Olivier Brunel * * aa-status.c - * Copyright (C) 2015-2016 Olivier Brunel <jjk@jjacky.com> + * Copyright (C) 2015-2017 Olivier Brunel <jjk@jjacky.com> * * This file is part of anopa. * @@ -249,7 +249,7 @@ put_list_header (struct config *cfg) { /* try without col1 */ len -= cols[1].len; - if (len < len) + if (cfg->cols < len) { aa_strerr_warn1x ("Terminal too small, disabling list mode"); cfg->mode = MODE_NORMAL;