[Xfce4-commits] <xfce4-weather-plugin:master> Fix previous commit.

Harald Judt noreply at xfce.org
Tue Dec 4 20:08:04 CET 2012


Updating branch refs/heads/master
         to 197cb4e3e3666dcc6fefe1d907b4358faf1f188a (commit)
       from 16a98047d5bc4bb5a30bf346b0b29b8e941195f7 (commit)

commit 197cb4e3e3666dcc6fefe1d907b4358faf1f188a
Author: Harald Judt <h.judt at gmx.at>
Date:   Tue Dec 4 20:07:12 2012 +0100

    Fix previous commit.

 panel-plugin/weather-data.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/weather-data.c b/panel-plugin/weather-data.c
index 2c9d7a2..cadbc7b 100644
--- a/panel-plugin/weather-data.c
+++ b/panel-plugin/weather-data.c
@@ -473,7 +473,7 @@ make_combined_timeslice(xml_weather *data,
     } else if (ipol) {
         /* deal with timeslices that are in the near future and use point
            data available at the start of the interval */
-        if (difftime(*between_t, end->start) <= 0)
+        if (difftime(*between_t, start->start) <= 0)
             comb->point = start->start;
         else
             comb->point = *between_t;


More information about the Xfce4-commits mailing list