summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/src/mir_smileys.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-09-21 21:58:47 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-09-21 21:58:47 +0000
commit7c0fdf0c457d55b6bfdda0282cf5099057c715c7 (patch)
tree31389d750c1fb6a6e7ecdd9279d32c238a50ff62 /plugins/TipperYM/src/mir_smileys.cpp
parent4d970faf406c59e807a9ffd4d7a51f1aaad6636a (diff)
Not needed version checks removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@6172 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TipperYM/src/mir_smileys.cpp')
-rw-r--r--plugins/TipperYM/src/mir_smileys.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/TipperYM/src/mir_smileys.cpp b/plugins/TipperYM/src/mir_smileys.cpp
index c42af4a871..9e19108565 100644
--- a/plugins/TipperYM/src/mir_smileys.cpp
+++ b/plugins/TipperYM/src/mir_smileys.cpp
@@ -212,8 +212,7 @@ void DrawTextSmiley(HDC hdcMem, RECT free_rc, const TCHAR *szText, int len, SMIL
// Get real height of the line
text_height = DrawText(hdcMem, _T("A"), 1, &tmp_rc, DT_CALCRECT | uTextFormat);
- if (IsWinVer2000Plus())
- SaveAlpha(&free_rc);
+ SaveAlpha(&free_rc);
// Just draw ellipsis
if (free_rc.right <= free_rc.left)
@@ -306,8 +305,7 @@ void DrawTextSmiley(HDC hdcMem, RECT free_rc, const TCHAR *szText, int len, SMIL
}
}
- if (IsWinVer2000Plus())
- RestoreAlpha(&free_rc);
+ RestoreAlpha(&free_rc);
}
void DestroySmileyList(SortedList* p_list)