Re: dpkg 1.6.5 notes
> I just uploaded dpkg 1.6.5. One of the interesting changes is that the
> helpmessages for dselect can now be translated. A couple of other
> messages have been changed in the last few versions as well.
>
> Could the translators please update their translation?
Working on it.
BTW, I've fixed a bug that prevents messages from having chars > 127 on
certain places.
Explanation of the patch: waddch expects a long int, and when the signed
char is expanded to that type, if the char has the sign bit on the function
don't work.
I haven't checked if this problem is present in other places.
--- pkgtop.cc~ Sat Oct 30 10:09:59 1999
+++ pkgtop.cc Fri Dec 24 23:33:41 1999
@@ -242,7 +242,7 @@
wattrset(listpad, selected ? selstatesel_attr : selstate_attr);
p= buf;
- while (i>0 && *p) { waddch(listpad, *p); p++; i--; }
+ while (i>0 && *p) { waddch(listpad, (*p)<0?(*p)+256:*p ); p++; i--; }
wattrset(listpad, selected ? listsel_attr : list_attr);
waddch(listpad,' ');
Reply to: