diff options
author | Akinori MUSHA <knu@idaemons.org> | 2009-07-13 13:48:53 +0900 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2014-07-24 11:50:47 +0200 |
commit | 90340f1072e7113b39694f116b109fbb410c5a33 (patch) | |
tree | 1ddf7bbe4747882c080ff9e98ef5a771ace2584b | |
parent | 90268b9df120b856e9c23c8de5ca5e80177a025e (diff) | |
download | screen-90340f1072e7113b39694f116b109fbb410c5a33.tar.gz |
Apply screen-4.0.2-deadlock-patch.
-rw-r--r-- | src/display.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/display.c b/src/display.c index c3e9ddb..f38045b 100644 --- a/src/display.c +++ b/src/display.c @@ -2324,7 +2324,14 @@ DisplayLine(struct mline *oml, struct mline *ml, int y, int from, int to) } if (dw_right(ml, x, D_encoding)) { - x--; + if (x>0) + { + x--; + } + else + { + x++; + } debug1("DisplayLine on right side of dw char- x now %d\n", x); GotoPos(x, y); } |