diff options
author | toni <matzeton@googlemail.com> | 2016-07-20 23:46:55 +0200 |
---|---|---|
committer | toni <matzeton@googlemail.com> | 2016-07-20 23:58:11 +0200 |
commit | b5100589d6934cfb7e2f745b6d55f1cbc2dab80a (patch) | |
tree | a8e115d26154b5d4d953eba7708be65f4b4fdcc0 /src/ui_txtwindow.c | |
parent | 7bbfcce90d7c001ebcfa9c2a2266cd6abf5ec34b (diff) |
fixed coverity issues
Diffstat (limited to 'src/ui_txtwindow.c')
-rw-r--r-- | src/ui_txtwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui_txtwindow.c b/src/ui_txtwindow.c index 736fde4..0acfb72 100644 --- a/src/ui_txtwindow.c +++ b/src/ui_txtwindow.c @@ -152,7 +152,7 @@ __do_textadjust(struct txtwindow *a, char *text) } adj_text[i] = tok; i++; - } while (rows > 0); + } while (--rows > 0); return adj_text; error: free(adj_text); |