diff options
Diffstat (limited to 'plugins/Weather/src/weather_data.cpp')
| -rw-r--r-- | plugins/Weather/src/weather_data.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Weather/src/weather_data.cpp b/plugins/Weather/src/weather_data.cpp index c1c5a53168..c9303092ad 100644 --- a/plugins/Weather/src/weather_data.cpp +++ b/plugins/Weather/src/weather_data.cpp @@ -154,7 +154,7 @@ void EraseAllInfo()  			opt.DefStn = hContact;
  			if (!db_get_ts(hContact, WEATHERPROTONAME, "Nick", &dbv)) {
 -				mir_sntprintf(str, _countof(str), TranslateT("%s is now the default weather station"), dbv.ptszVal);
 +				mir_sntprintf(str, TranslateT("%s is now the default weather station"), dbv.ptszVal);
  				db_free(&dbv);
  				MessageBox(NULL, str, TranslateT("Weather Protocol"), MB_OK | MB_ICONINFORMATION);
  			}
 @@ -181,7 +181,7 @@ void EraseAllInfo()  		}
  		opt.DefStn = LastContact;
  		if (!db_get_ts(LastContact, WEATHERPROTONAME, "Nick", &dbv)) {
 -			mir_sntprintf(str, _countof(str), TranslateT("%s is now the default weather station"), dbv.ptszVal);
 +			mir_sntprintf(str, TranslateT("%s is now the default weather station"), dbv.ptszVal);
  			db_free(&dbv);
  			MessageBox(NULL, str, TranslateT("Weather Protocol"), MB_OK | MB_ICONINFORMATION);
  		}
  | 
