summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-05-30 13:18:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-05-30 13:18:30 +0000
commit9951afcf3b7dbb6ec2037dcb345c56db811329cd (patch)
tree6fd498737f2c117e493e5188bbe12220940855e5
parent2b5aaa321425c6309ed912f04badd79e27e9549e (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@232 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/Weather/weather_10.vcxproj1
-rw-r--r--protocols/Weather/weather_update.cpp2
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);
} } }