diff options
author | Geoff Nixon <geoff.nixon@aol.com> | 2014-02-27 03:15:00 -0800 |
---|---|---|
committer | Geoff Nixon <geoff.nixon@aol.com> | 2014-02-27 06:23:40 -0800 |
commit | ddcd2b0810087394d17bd80c46d74cca0acd8924 (patch) | |
tree | 575f58142aca93fd46ffb9c4bec18c388a7a42ce /common.cpp | |
parent | 6d749789ce240a3e6f1447777db63fd8e7525560 (diff) |
Dead stores
Diffstat (limited to 'common.cpp')
-rw-r--r-- | common.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -866,11 +866,7 @@ void write_screen(const wcstring &msg, wcstring &buff) /* If token is zero character long, we don't do anything */ - if (pos == start) - { - start = pos = pos+1; - } - else if (overflow) + if (overflow) { /* In case of overflow, we print a newline, except if we already are at position 0 |