diff options
Diffstat (limited to 'protocols/Weather/weather_svcs.cpp')
-rw-r--r-- | protocols/Weather/weather_svcs.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Weather/weather_svcs.cpp b/protocols/Weather/weather_svcs.cpp index 17d4bb7f87..0ded709fcc 100644 --- a/protocols/Weather/weather_svcs.cpp +++ b/protocols/Weather/weather_svcs.cpp @@ -144,10 +144,9 @@ INT_PTR WeatherGetAvatarInfo(WPARAM wParam, LPARAM lParam) status = (WORD)DBGetContactSettingWord(ai->hContact, WEATHERPROTONAME, "StatusIcon",0);
for (i=0; i<10; i++)
- {
if (statusValue[i] == status)
break;
- }
+
if (i >= 10)
return GAIR_NOAVATAR;
|