From 54930cf784163294ce1211b9d7c3c91b372e13ef Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 10 Oct 2021 22:55:41 +0100 Subject: [PATCH] bidi.c: correct comments. I accidentally deleted the original author's name in my rewrite, which was unnecessarily unfriendly given that some of their code is still here. Also I made a thinko in my explanation of the U+00AD problem. --- terminal/bidi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/terminal/bidi.c b/terminal/bidi.c index 0e72b49d..c7cb7b43 100644 --- a/terminal/bidi.c +++ b/terminal/bidi.c @@ -3,9 +3,9 @@ * algorithms for PuTTY. * * Original version written and kindly contributed to this code base - * by Arabeyes. The bidi part was almost completely rewritten in 2021 - * by Simon Tatham to bring it up to date, but the shaping part is - * still the one by the original authors. + * by Ahmad Khalifa of Arabeyes. The bidi part was almost completely + * rewritten in 2021 by Simon Tatham to bring it up to date, but the + * shaping part is still the one by the original authors. * * Implementation notes: * @@ -80,7 +80,7 @@ * * This would be fine, if it were not for the fact that - as far as I * can see - _exactly one_ Unicode code point in the discarded - * category has a wcwidth() of more than 1, namely U+00AD SOFT HYPHEN + * category has a wcwidth() of more than 0, namely U+00AD SOFT HYPHEN * which is a printing character for terminal purposes but has a bidi * class of BN. *