> Dock app that simply counts down the days, hours, minutes, and seconds left until 00:00 January 1, 2000.
https://cyber.dabamos.de/unix/x11/#wmy2k
put in printf("%s\n",temp); around line 52 and you'll see it is indeed negatives. This very much confuses this line
copyXPMArea((*p-'0')*7 + 1, 0, 8, 13, k, 2);
To me, sign and absolute value are often separate concerns.
The series 1, 2, 3, … is increasingly positive.
The series -1, -2, -3, … is increasingly negative.
But I understand, and accept, that others may think differently about numbers.
The series 1, 2, 3 is increasing (and) positive.
The series -1, -2, -3 is decreasing negative.
The series -3, -2, -1 is increasing negative.
Edit: formatting
> Dock app that simply counts down the days, hours, minutes, and seconds left until 00:00 January 1, 2000.
https://cyber.dabamos.de/unix/x11/#wmy2k