Re: Mail status characters in list view

Roel van Meer <[email protected]> Wed, 12 Sep 2018 10:20:13 +0200
Newsgroups gmane.mail.cone
Message-ID <[email protected]>
Sam Varshavchik writes:

>> I have a small question: I recently updated cone to the most recent version,  
>> and now the message status characters in the list view have changed (unread  
>> mail used to be shown with an 'N', now it's a diamond character).
>>
>> Where in the code do you define these characters? I'd like to patch them  
>> back to what they were.
>
> It's the first order of business in main(), to check if the locale can  
> represent the various unicode characters. This one will fallback to an "N"  
> if the locale's character set doesn't have it.
>
> 		ucbuf[0]=9830;
>
> 		s=unicode::iconvert::convert(ucbuf, unicode_default_chset(),  
> err);
>
> 		if (s.size() > 0 && !err)
> 			strncat(unew, s.c_str(), sizeof(unew)-1);
> 		else
> 			strcpy(unew, _("N"));
>
> Just always initialize unew with "N".

I found it. Thanks a lot!

Best regards,

Roel


_______________________________________________
Courier-cone mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone