summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kweather/metar_parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kweather/metar_parser.cpp b/kweather/metar_parser.cpp
index c7baa62..6c91ee3 100644
--- a/kweather/metar_parser.cpp
+++ b/kweather/metar_parser.cpp
@@ -868,14 +868,14 @@ TQString MetarParser::iconName( int condition, bool night, int strength ) const
TQString _iconName;
if( strength != 0 )
{
- // Simple
+ // Ranged
WeatherIcon* wi = new WeatherIcon( condition, night, strength );
_iconName = wi->name();
delete wi;
}
else
{
- // Ranged
+ // Simple
WeatherIcon* wi = new WeatherIcon( condition, night );
_iconName = wi->name();
delete wi;