summaryrefslogtreecommitdiff
path: root/src/modules/userinfo/userinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/userinfo/userinfo.cpp')
-rw-r--r--src/modules/userinfo/userinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/userinfo/userinfo.cpp b/src/modules/userinfo/userinfo.cpp
index 0f07ea5ba3..7fb79822d5 100644
--- a/src/modules/userinfo/userinfo.cpp
+++ b/src/modules/userinfo/userinfo.cpp
@@ -132,14 +132,14 @@ static INT_PTR AddDetailsPage(WPARAM wParam, LPARAM lParam)
if ((DWORD_PTR)odp->pszTemplate&0xFFFF0000) dst->pszTemplate = mir_strdup(odp->pszTemplate);
else dst->pszTemplate = odp->pszTemplate;
- #if defined(_UNICODE)
+
if ( odp->flags & ODPF_UNICODE )
{
dst->ptszTitle = (odp->ptszTitle == 0) ? NULL : mir_wstrdup(odp->ptszTitle);
dst->ptszTab = (!(odp->flags & ODPF_USERINFOTAB) || !odp->ptszTab) ? NULL : mir_wstrdup(odp->ptszTab);
}
else
- #endif
+
{
if ( odp->flags & ODPF_DONTTRANSLATE )
dst->ptszTitle = (odp->pszTitle == 0) ? NULL : mir_a2t(odp->pszTitle);