[libgweather/gnome-3-8] METAR: the code for ice pellets is PL, not PE



commit 8557dac10a4bb0f5081826f9a4c4531850061f07
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Fri Mar 8 23:58:50 2013 +0100

    METAR: the code for ice pellets is PL, not PE
    
    According to Wikipedia.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695397

 libgweather/weather-metar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgweather/weather-metar.c b/libgweather/weather-metar.c
index 44c0820..17ebea1 100644
--- a/libgweather/weather-metar.c
+++ b/libgweather/weather-metar.c
@@ -353,7 +353,7 @@ metar_tok_cond (gchar *tokp, GWeatherInfo *info)
         priv->cond.phenomenon = GWEATHER_PHENOMENON_SNOW_GRAINS;
     } else if (!strcmp (sphen, "IC")) {
         priv->cond.phenomenon = GWEATHER_PHENOMENON_ICE_CRYSTALS;
-    } else if (!strcmp (sphen, "PE")) {
+    } else if (!strcmp (sphen, "PL")) {
         priv->cond.phenomenon = GWEATHER_PHENOMENON_ICE_PELLETS;
     } else if (!strcmp (sphen, "GR")) {
         priv->cond.phenomenon = GWEATHER_PHENOMENON_HAIL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]