From: Jan K. <ja...@ph...> - 2004-02-06 23:12:41
|
Hi guys! i was annoyed by the many reserved chars there are when i used the lcd4li= nux=20 to let me show the number of mails i got. i didn't get the reason to have= 5=20 digits reserved for mail (who has more than 99999 unseen mails?!) i decid= ed=20 to get that down to 2 digits, btw, who has more then 99 unseen mails? :) so i added these lines to my processor.c just before the standard definit= ion=20 of=20 static void print_token (int token, char **p, char *start) { **** beginning in line 581: case T_MAIL: *p+=3Dsprintf (*p, "%2.0f", query(token)); break; case T_MAIL_UNSEEN: *p+=3Dsprintf (*p, "%2.0f", query(token)); break; **** ending in line 588 (now) or whatever :) just add it be4 the default definition :) i think these constants were just overlooked while adding the mail-code. you need de do a make clean be4 the make recons and compiles this change.= =2E. so, have a nice lcd-day, janK |