[PATCH] bug in remove_soft_hyphens()
13 Nov
2023
13 Nov
'23
8:23 a.m.
If there are several consecutive soft hyphens, every second one is displayed despite suppress_soft_hyphens=ON. Example: <b0b8/f212/dcsmm/813dlg@barghahn-online.de> contains four lines with several consecutive 0xad. Dennis --- a/src/misc.c +++ b/src/misc.c @@ -3831,7 +3831,7 @@ remove_soft_hyphens( while (*rptr) { if (*rptr == 0xad) ++rptr; - if (*rptr) + if (*rptr && *rptr != 0xad) *wptr++ = *rptr++; } *wptr = '\0';
1117
Age (days ago)
1117
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dennis Preiser