summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/utilities.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-04 22:12:13 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-04 22:12:13 +0000
commitb7c74cd5b22618d544a3f4ae124985d4837e3a22 (patch)
tree468d9610a590685322ad2159a9bd2d9e2ba83f89 /plugins/New_GPG/src/utilities.cpp
parent7de513f180c429859e246d1033d745b394e1fc28 (diff)
new mir_snprintf templates without SIZEOF
git-svn-id: http://svn.miranda-ng.org/main/trunk@14002 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src/utilities.cpp')
-rwxr-xr-xplugins/New_GPG/src/utilities.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp
index 21815bd625..3b9f390634 100755
--- a/plugins/New_GPG/src/utilities.cpp
+++ b/plugins/New_GPG/src/utilities.cpp
@@ -1412,21 +1412,21 @@ void ExportGpGKeysFunc(int type)
case DBVT_BYTE:
{
char _id[64];
- mir_snprintf(_id, SIZEOF(_id), "%d", dbv.bVal);
+ mir_snprintf(_id, "%d", dbv.bVal);
id += _id;
}
break;
case DBVT_WORD:
{
char _id[64];
- mir_snprintf(_id, SIZEOF(_id), "%d", dbv.wVal);
+ mir_snprintf(_id, "%d", dbv.wVal);
id += _id;
}
break;
case DBVT_DWORD:
{
char _id[64];
- mir_snprintf(_id, SIZEOF(_id), "%d", dbv.dVal);
+ mir_snprintf(_id, "%d", dbv.dVal);
id += _id;
}
break;
@@ -1463,21 +1463,21 @@ void ExportGpGKeysFunc(int type)
case DBVT_BYTE:
{
char _id[64];
- mir_snprintf(_id, SIZEOF(_id), "%d", dbv.bVal);
+ mir_snprintf(_id, "%d", dbv.bVal);
id += _id;
}
break;
case DBVT_WORD:
{
char _id[64];
- mir_snprintf(_id, SIZEOF(_id), "%d", dbv.wVal);
+ mir_snprintf(_id, "%d", dbv.wVal);
id += _id;
}
break;
case DBVT_DWORD:
{
char _id[64];
- mir_snprintf(_id, SIZEOF(_id), "%d", dbv.dVal);
+ mir_snprintf(_id, "%d", dbv.dVal);
id += _id;
}
break;
@@ -1616,7 +1616,7 @@ INT_PTR ImportGpGKeys(WPARAM w, LPARAM l)
case DBVT_BYTE:
{
char _id[64];
- mir_snprintf(_id, SIZEOF(_id), "%d", dbv.bVal);
+ mir_snprintf(_id, "%d", dbv.bVal);
id += _id;
if(id == login)
acc = accs[i]->szModuleName;
@@ -1625,7 +1625,7 @@ INT_PTR ImportGpGKeys(WPARAM w, LPARAM l)
case DBVT_WORD:
{
char _id[64];
- mir_snprintf(_id, SIZEOF(_id), "%d", dbv.wVal);
+ mir_snprintf(_id, "%d", dbv.wVal);
id += _id;
if(id == login)
acc = accs[i]->szModuleName;
@@ -1634,7 +1634,7 @@ INT_PTR ImportGpGKeys(WPARAM w, LPARAM l)
case DBVT_DWORD:
{
char _id[64];
- mir_snprintf(_id, SIZEOF(_id), "%d", dbv.dVal);
+ mir_snprintf(_id, "%d", dbv.dVal);
id += _id;
if(id == login)
acc = accs[i]->szModuleName;
@@ -1685,7 +1685,7 @@ INT_PTR ImportGpGKeys(WPARAM w, LPARAM l)
case DBVT_BYTE:
{
char _id[64];
- mir_snprintf(_id, SIZEOF(_id), "%d", dbv.bVal);
+ mir_snprintf(_id, "%d", dbv.bVal);
id += _id;
if(id == contact_id)
found = true;
@@ -1694,7 +1694,7 @@ INT_PTR ImportGpGKeys(WPARAM w, LPARAM l)
case DBVT_WORD:
{
char _id[64];
- mir_snprintf(_id, SIZEOF(_id), "%d", dbv.wVal);
+ mir_snprintf(_id, "%d", dbv.wVal);
id += _id;
if(id == contact_id)
found = true;
@@ -1703,7 +1703,7 @@ INT_PTR ImportGpGKeys(WPARAM w, LPARAM l)
case DBVT_DWORD:
{
char _id[64];
- mir_snprintf(_id, SIZEOF(_id), "%d", dbv.dVal);
+ mir_snprintf(_id, "%d", dbv.dVal);
id += _id;
if(id == contact_id)
found = true;