--- > return bprintf("%d", (temp.value - 273150000) / 1000000); Sent with ProtonMail Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Tuesday, June 16, 2020 5:33 PM, messw1thdbest <messw1thdbest_AT_protonmail.ch> wrote: > Hi Suckless > > I think there is a problem with the temperature module, > that is, on OpenBSD it only prints one digit, > which by the way doesn't even change (stuck at 5). > > By making a small change, it now works properly. > (I also removed stdio.h which looks unnecessary) > > 22d21 > < #include <stdio.h> > > 48c47 > < return bprintf("%d", (temp.value - 273150000) / 1E6); > > -------------------------------------------------------------- > > > return bprintf("%d", (temp.value - 273150000) / 1000000); > > > > Thank's for your work!Received on Tue Jun 16 2020 - 19:55:03 CEST
This archive was generated by hypermail 2.3.0 : Tue Jun 16 2020 - 20:00:08 CEST