diff options
| -rw-r--r-- | protocols/Weather/weather_10.vcxproj | 1 | ||||
| -rw-r--r-- | protocols/Weather/weather_update.cpp | 2 | 
2 files changed, 2 insertions, 1 deletions
| diff --git a/protocols/Weather/weather_10.vcxproj b/protocols/Weather/weather_10.vcxproj index 530054497f..25d699d97a 100644 --- a/protocols/Weather/weather_10.vcxproj +++ b/protocols/Weather/weather_10.vcxproj @@ -31,6 +31,7 @@    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
      <ConfigurationType>DynamicLibrary</ConfigurationType>
      <WholeProgramOptimization>true</WholeProgramOptimization>
 +    <CharacterSet>Unicode</CharacterSet>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
      <ConfigurationType>DynamicLibrary</ConfigurationType>
 diff --git a/protocols/Weather/weather_update.cpp b/protocols/Weather/weather_update.cpp index 0cf6d890fd..832d4237c1 100644 --- a/protocols/Weather/weather_update.cpp +++ b/protocols/Weather/weather_update.cpp @@ -181,7 +181,7 @@ int UpdateWeather(HANDLE hContact)  				if (file != NULL) {
  					// write data to the file and close
  					GetDisplay(&winfo, opt.eText, str2);
 -					fputws(str2, file);
 +					_fputts(str2, file);
  					fclose(file);
  		}	}	}
 | 
