Your message dated Wed, 9 Apr 2014 02:03:45 +0200
with message-id <[email protected]>
has caused the report #356145,
regarding less: Accented letters don't get bold
to be marked as having been forwarded to the upstream software
author(s) [email protected]
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
356145: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=356145
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
--- Begin Message ---
Hello,
I send you a patch for a small error reported by a Debian user:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=356145
Can you integrate it please?
If you want, some other bugs are reported here:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=gkrellkam
Regards,
--
Stéphane Aulery
diff -ur less-394/line.c less-394-mine/line.c
--- less-394/line.c 2005-12-03 21:20:32.000000000 +0100
+++ less-394-mine/line.c 2006-11-07 02:21:55.000000000 +0100
@@ -738,7 +738,7 @@
*/
public int
pappend(c, pos)
- char c;
+ unsigned char c;
POSITION pos;
{
int r;
@@ -883,7 +883,10 @@
*/
overstrike = utf_mode ? -1 : 0;
/* To be correct, this must be a base character. */
- prev_ch = get_wchar(linebuf + curr);
+ if (utf_mode)
+ prev_ch = get_wchar(linebuf + curr);
+ else
+ prev_ch = (unsigned char) linebuf[curr];
a = attr[curr];
if (ch == prev_ch)
{
--- End Message ---
--- End Message ---