Don't use - in front of the temperature to mean No condition
svn path=/trunk/; revision=12606
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user