summaryrefslogtreecommitdiff
path: root/plugins/Weather/src/weather_icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Weather/src/weather_icons.cpp')
-rw-r--r--plugins/Weather/src/weather_icons.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Weather/src/weather_icons.cpp b/plugins/Weather/src/weather_icons.cpp
index 8b69cffcd0..68d162e8fc 100644
--- a/plugins/Weather/src/weather_icons.cpp
+++ b/plugins/Weather/src/weather_icons.cpp
@@ -45,7 +45,7 @@ void InitIcons(void)
HICON LoadIconEx(const char* name, bool big)
{
char szSettingName[100];
- mir_snprintf(szSettingName, _countof(szSettingName), "%s_%s", WEATHERPROTONAME, name);
+ mir_snprintf(szSettingName, "%s_%s", WEATHERPROTONAME, name);
return IcoLib_GetIcon(szSettingName, big);
}