diff options
Diffstat (limited to 'ufed-curses-types.c')
-rw-r--r-- | ufed-curses-types.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ufed-curses-types.c b/ufed-curses-types.c index 9d59234..e6b1139 100644 --- a/ufed-curses-types.c +++ b/ufed-curses-types.c @@ -573,7 +573,7 @@ static void calculateDescWrap(sDesc* desc) end = wLen - 1; // Step 2: Find last space character before end+1 - if ((end > start) && (end < (wLen - 1)) && (' ' != pch[end])) { + if ((end > start) && (' ' != pch[end])) { size_t newEnd = end; for (; (newEnd > start) && (' ' != pch[newEnd]) ; --newEnd) ; if (newEnd > start) |