summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-11-25 14:34:05 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-11-25 14:34:05 +0000
commit81464df93124380cecbf7e5dace914f1c06aaf5d (patch)
tree1de0fbb57007109d6a0aa9913d5aa8d94f2c824a
parent17cdee96800cc340b2380e27c594ca414b627182 (diff)
- Xfire: unicode fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2483 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/Xfire/src/options.cpp6
-rw-r--r--protocols/Xfire/xfire.vcxproj2
2 files changed, 5 insertions, 3 deletions
diff --git a/protocols/Xfire/src/options.cpp b/protocols/Xfire/src/options.cpp
index 4dd94bb4c8..3e39b834b7 100644
--- a/protocols/Xfire/src/options.cpp
+++ b/protocols/Xfire/src/options.cpp
@@ -1240,9 +1240,9 @@ int OptInit(WPARAM wParam,LPARAM lParam)
//odp.position=-790000000;
odp.hInstance=hinstance;
odp.pszTemplate=MAKEINTRESOURCE(IDD_OPT);
- odp.pszTitle=Translate("XFire");
- odp.pszGroup = Translate("Network");
- odp.flags=ODPF_BOLDGROUPS;
+ odp.ptszTitle=_T("XFire");
+ odp.ptszGroup = TranslateT("Network");
+ odp.flags=ODPF_BOLDGROUPS, ODPF_UNICODE;
//odp.nIDBottomSimpleControl=IDC_GROUPMAIN;
odp.pfnDlgProc=DlgProcOpts;
Options_AddPage(wParam, &odp);
diff --git a/protocols/Xfire/xfire.vcxproj b/protocols/Xfire/xfire.vcxproj
index 98cb364a5d..f150a543f0 100644
--- a/protocols/Xfire/xfire.vcxproj
+++ b/protocols/Xfire/xfire.vcxproj
@@ -156,6 +156,7 @@
<ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
<TargetMachine>MachineX86</TargetMachine>
<AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
+ <AdditionalOptions>/PDBALTPATH:%_PDB% %(AdditionalOptions)</AdditionalOptions>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
@@ -190,6 +191,7 @@
</BaseAddress>
<ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
<AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
+ <AdditionalOptions>/PDBALTPATH:%_PDB% %(AdditionalOptions)</AdditionalOptions>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>