diff options
author | George Hazan <george.hazan@gmail.com> | 2013-01-31 22:07:54 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-01-31 22:07:54 +0000 |
commit | df60e52a47f80d89de55affae33d93f79e077885 (patch) | |
tree | 8122a0eb58d5f397244fe7f1d057ab0bbc85e7e8 /plugins/MyDetails/src/data.cpp | |
parent | 1eafcf387847f384eca282abfe5fa7242e1405ab (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.cpp | 5 |
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);
}
}
|