diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-10-04 06:54:02 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-10-04 06:54:02 +0000 |
commit | 4954272747e58694b365de2a8dbb246b5e63ed02 (patch) | |
tree | 56a7a7b5a0c34314298751cf7274f10d3c600566 /plugins/New_GPG | |
parent | 67e460ae2bf43109b9095c518cd2ede4e043e202 (diff) |
crash fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@6323 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG')
-rwxr-xr-x | plugins/New_GPG/src/utilities.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp index 29762ef12d..5c62df7c0b 100755 --- a/plugins/New_GPG/src/utilities.cpp +++ b/plugins/New_GPG/src/utilities.cpp @@ -263,7 +263,7 @@ int OnPreBuildContactMenu(WPARAM w, LPARAM l) keyid = UniGetContactSettingUtf(NULL, szGPGModuleName, "KeyID", ""); } TCHAR buf[128] = {0}; - mir_sntprintf(buf, 127 * sizeof(TCHAR), _T("%s: %s"), TranslateT("Send publick key"), toUTF16(keyid).c_str()); + mir_sntprintf(buf, SIZEOF(buf), _T("%s: %s"), TranslateT("Send publick key"), toUTF16(keyid).c_str()); mir_free(keyid); mi2.ptszName = buf; mi2.flags = CMIM_NAME | CMIF_TCHAR; |