Package: wmweather
Version: 2.4.3-4
Severity: normal

Dewpoint display always shows -18°C

It happens since last upgrade.

I think changing the line 919 in wmweather.c from:

d = (dewpoint - 32.0) * 5.0 / 9.0;

to:

d = (d - 32.0) * 5.0 / 9.0;

solves the problem.


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages wmweather depends on:
ii  libc6                        2.3.6.ds1-9 GNU C Library: Shared libraries
ii  libcurl3                     7.15.5-1    Multi-protocol file transfer libra
ii  libx11-6                     2:1.0.3-4   X11 client-side library
ii  libxext6                     1:1.0.1-2   X11 miscellaneous extension librar
ii  libxpm4                      1:3.5.5-2   X11 pixmap library

Versions of packages wmweather recommends:
ii  xbase-clients                 1:7.1.ds-3 miscellaneous X clients

-- no debconf information

Reply via email to