diff options
author | mikeymell <mikeymell@users.noreply.github.com> | 2018-07-24 17:36:07 +0300 |
---|---|---|
committer | mikeymell <mikeymell@users.noreply.github.com> | 2018-07-24 17:36:10 +0300 |
commit | 1e72c09ef8e8c9942910c34ba975663462a472fc (patch) | |
tree | ed6ef50a17ca943b5749ff36330ffd80285b2702 /src/vmtbl.c | |
parent | 98d3908a6a5f3c9cff390e51db1657ff47a5b267 (diff) |
Remove redundant if clause
Diffstat (limited to 'src/vmtbl.c')
-rw-r--r-- | src/vmtbl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vmtbl.c b/src/vmtbl.c index 47c248f..3d58e7b 100644 --- a/src/vmtbl.c +++ b/src/vmtbl.c @@ -173,11 +173,10 @@ int growtbl(int rowcol, int toprow, int topcol) { /* If we're close but less than MAXROWS, clip to max value */ if ( newrows > MAXROWS ) newrows = MAXROWS; - } #endif /* !PSC */ if ((rowcol == GROWCOL) || (rowcol == GROWBOTH)) { - if ((rowcol == GROWCOL) && ((maxcols == ABSMAXCOLS) || (topcol >= ABSMAXCOLS))) { + if ((maxcols == ABSMAXCOLS) || (topcol >= ABSMAXCOLS)) { sc_error(nowider); return (FALSE); } |