[Goodies-dev] [Bug 11604] Remove negative sign when temperature is 0° F

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Mar 9 17:32:39 CET 2015


https://bugzilla.xfce.org/show_bug.cgi?id=11604

Harald Judt <hjudt at xfce.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from Harald Judt <hjudt at xfce.org> ---
Josh, that looks very nice now, thanks for the patch. The only thing I changed
is putting a do while(0) around the multi-line macro, you can read more about
that e.g. on
http://www.commonsense4commonpeople.net/2008/11/tips-on-writing-c-macros.html.
It wouldn't matter in the three cases used here, but if someone else used it in
an if block some day, that might cause surprises.

Pushed to master:
http://git.xfce.org/panel-plugins/xfce4-weather-plugin/commit/?id=f872ecb906431f3ebd250a59248d536fccfca243

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Goodies-dev mailing list