From 4b557686296ca577ffcc88b3f314ab613a36e319 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Tue, 4 Sep 2001 22:11:35 +0000 Subject: Don't use - in front of the temperature to mean No condition svn path=/trunk/; revision=12606 --- my-evolution/ChangeLog | 5 +++++ my-evolution/Locations | 6 +++++- my-evolution/metar.c | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) (limited to 'my-evolution') 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 + + * 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 * 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 && -- cgit v1.2.3