aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-05 06:11:35 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-05 06:11:35 +0800
commit4b557686296ca577ffcc88b3f314ab613a36e319 (patch)
tree1134aa9af1b0508108b35f1afdc3503c09547868
parent1e251f23e6902f9df8b3511dfff61ade6abd1bfc (diff)
downloadgsoc2013-evolution-4b557686296ca577ffcc88b3f314ab613a36e319.tar.gz
gsoc2013-evolution-4b557686296ca577ffcc88b3f314ab613a36e319.tar.zst
gsoc2013-evolution-4b557686296ca577ffcc88b3f314ab613a36e319.zip
Don't use - in front of the temperature to mean No condition
svn path=/trunk/; revision=12606
-rw-r--r--my-evolution/ChangeLog5
-rw-r--r--my-evolution/Locations6
-rw-r--r--my-evolution/metar.c2
3 files changed, 11 insertions, 2 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index 69b6521095..a639800d86 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-04 Iain Holmes <iain@ximian.com>
+
+ * metar.c (weather_conditions_string): Don't return '-' if there is no
+ condition, as it makes the temperature look negative.
+
2001-08-27 Ettore Perazzoli <ettore@ximian.com>
* e-summary-weather.c (weather_make_html): Make local variable
diff --git a/my-evolution/Locations b/my-evolution/Locations
index f3b0a6baa7..a424a9a629 100644
--- a/my-evolution/Locations
+++ b/my-evolution/Locations
@@ -2345,7 +2345,7 @@ loc9=Tlemcen\\ Zenata DAON ------ ---
[OZ]
name=Australasia
-states=AU NZ
+states=AU NZ AN
[OZ_AU]
name=Australia
@@ -2373,6 +2373,10 @@ loc0=Auckland NZAA ------ ---
loc1=Christchurch NZCH ------ ---
loc2=Wellington NZWN ------ ---
+[OZ_AN]
+name=Antartica
+loc0=Williams\\ Field NZCM ------ ---
+
[AS]
name=Asia
states=CN HK IN JP KR KP PK SG TW VN
diff --git a/my-evolution/metar.c b/my-evolution/metar.c
index 571f6d9c73..80f1ff0ab9 100644
--- a/my-evolution/metar.c
+++ b/my-evolution/metar.c
@@ -126,7 +126,7 @@ const char *
weather_conditions_string (Weather *w)
{
if (!w->cond.significant) {
- return "-";
+ return " ";
} else {
if (w->cond.phenomenon >= 0 &&
w->cond.phenomenon < 24 &&