diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-14 11:13:37 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-14 11:13:37 +0000 |
commit | 721aea0764451e985d575236205808bbef298244 (patch) | |
tree | 3a1c566c364e5fc2fff86b87d494497e7de6f93d /plugins/Scriver/msgwindow.c | |
parent | 1784cdf49b8196219563795cf3b11b7c4c2a6746 (diff) |
one more "#ifsef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@409 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/msgwindow.c')
-rw-r--r-- | plugins/Scriver/msgwindow.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/Scriver/msgwindow.c b/plugins/Scriver/msgwindow.c index c4a40a299a..cbbd0a3037 100644 --- a/plugins/Scriver/msgwindow.c +++ b/plugins/Scriver/msgwindow.c @@ -1264,13 +1264,9 @@ static void DrawTab(ParentWindowData *dat, HWND hwnd, WPARAM wParam, LPARAM lPar rect.bottom -= GetSystemMetrics(SM_CYEDGE) + 2;
}
if (hTheme) {
-#ifdef _UNICODE
+
MyDrawThemeText(hTheme, lpDIS->hDC, TABP_TABITEM, tstate, szLabel, -1, dwFormat, 0, &rect);
-#else
- wchar_t* text = mir_a2u(szLabel);
- MyDrawThemeText(hTheme, lpDIS->hDC, TABP_TABITEM, tstate, text, -1, dwFormat, 0, &rect);
- mir_free(text);
-#endif
+
}
else
DrawText(lpDIS->hDC, szLabel, -1, &rect, dwFormat);
|