summaryrefslogtreecommitdiff
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:35:36 +0100
commit8557dac10a4bb0f5081826f9a4c4531850061f07 (patch)
tree2fc1bd1f6c0c2a764bdfa046b86f10b6602ade90
parent8bda5c10cb1a8e82b8ec547c237251b358f3e8d1 (diff)
downloadlibgweather-8557dac10a4bb0f5081826f9a4c4531850061f07.tar.gz
METAR: the code for ice pellets is PL, not PE
According to Wikipedia. https://bugzilla.gnome.org/show_bug.cgi?id=695397
-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;