8bit: convert properly nonascii signed chars in panel and viewer (#360)
commit6121dfd5b1e4e7a55359e39112252a6a374a404d
authorSergei Trofimovich <slyfox@inbox.ru>
Wed, 20 May 2009 21:49:01 +0000 (21 00:49 +0300)
committerSergei Trofimovich <slyfox@inbox.ru>
Wed, 20 May 2009 21:49:01 +0000 (21 00:49 +0300)
treef814c85ca65289090b14896cfaa7d9d81be3e200
parentc6b42a736966f18b77182bacb13ad3781b7c0927
8bit: convert properly nonascii signed chars in panel and viewer (#360)

Problem arose in freebsd-7.2 system. GCC has 'signed char' there
and thus code like this broke:
>     char c = ...;
>     if (isprint(c)) ..." // 'signed char' -> 'signed int'
('man isprint' explicitely says to pass 'unsigned char' there)

As we use multibyte chars everywhere - there is not many places to fix.
This patch fixes all 8bit collate functions.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
src/strutil8bit.c