diff options
Diffstat (limited to 'protocols/Weather')
-rw-r--r-- | protocols/Weather/weather.h | 2 | ||||
-rw-r--r-- | protocols/Weather/weather_conv.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Weather/weather.h b/protocols/Weather/weather.h index ecca3deecf..e2b4f268cd 100644 --- a/protocols/Weather/weather.h +++ b/protocols/Weather/weather.h @@ -22,6 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
//============ THE INCLUDES ===========
+
+#define _CRT_SECURE_NO_WARNINGS
#include <m_stdhdr.h>
#include <stdio.h>
diff --git a/protocols/Weather/weather_conv.cpp b/protocols/Weather/weather_conv.cpp index 9f466c3772..8cab451181 100644 --- a/protocols/Weather/weather_conv.cpp +++ b/protocols/Weather/weather_conv.cpp @@ -453,7 +453,7 @@ void TrimString(WCHAR *str) void ConvertBackslashes(char *str)
{
char *pstr;
- for( pstr=str; *pstr; pstr = CharNextA(pstr)) {
+ for ( pstr=str; *pstr; pstr = CharNextA(pstr)) {
if (*pstr=='\\') {
switch(pstr[1]) {
case 'n': *pstr='\n'; break;
|