diff options
Diffstat (limited to 'src/common.cpp')
-rw-r--r-- | src/common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.cpp b/src/common.cpp index 49f53fb5..fcbb2465 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -749,7 +749,7 @@ wcstring reformat_for_screen(const wcstring &msg) { // If token is zero character long, we don't do anything. if (pos == start) { - start = pos = pos + 1; + pos = pos + 1; } else if (overflow) { // In case of overflow, we print a newline, except if we already are at position 0. wchar_t *token = wcsndup(start, pos - start); |