summaryrefslogtreecommitdiff
path: root/libgweather/weather-metar.c
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2013-03-08 23:58:50 +0100
committerGiovanni Campagna <gcampagna@src.gnome.org>2013-03-18 19:33:47 +0100
commit5d8834effa8c2e52f9b9a6c0310127a282e9a703 (patch)
treed3bfdb85cc0e406374cd2fba7963f9312011a2aa /libgweather/weather-metar.c
parent0137d927c44239871469080d38fa11aceb12809c (diff)
downloadlibgweather-5d8834effa8c2e52f9b9a6c0310127a282e9a703.tar.gz
METAR: the code for ice pellets is PL, not PE
According to Wikipedia. https://bugzilla.gnome.org/show_bug.cgi?id=695397
Diffstat (limited to 'libgweather/weather-metar.c')
-rw-r--r--libgweather/weather-metar.c2
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;