summaryrefslogtreecommitdiff
path: root/plugins/MyDetails/src/data.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-01-31 22:07:54 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-01-31 22:07:54 +0000
commitdf60e52a47f80d89de55affae33d93f79e077885 (patch)
tree8122a0eb58d5f397244fe7f1d057ab0bbc85e7e8 /plugins/MyDetails/src/data.cpp
parent1eafcf387847f384eca282abfe5fa7242e1405ab (diff)
unicode smileys never worked in MyDetails
git-svn-id: http://svn.miranda-ng.org/main/trunk@3382 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MyDetails/src/data.cpp')
-rw-r--r--plugins/MyDetails/src/data.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/MyDetails/src/data.cpp b/plugins/MyDetails/src/data.cpp
index 930afa2bda..103f4d2f96 100644
--- a/plugins/MyDetails/src/data.cpp
+++ b/plugins/MyDetails/src/data.cpp
@@ -105,10 +105,9 @@ Protocol::~Protocol()
void Protocol::lcopystr(TCHAR *dest, TCHAR *src, size_t maxlen)
{
- if (lstrcmp(dest, src) != 0)
- {
+ if (lstrcmp(dest, src) != 0) {
data_changed = true;
- lstrcpyn(dest, src, maxlen);
+ lstrcpyn(dest, src, (DWORD)maxlen);
}
}