summaryrefslogtreecommitdiff
path: root/plugins/New_GPG
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG')
-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 25cd58230b..9b8aec3b3e 100755
--- a/plugins/New_GPG/src/utilities.cpp
+++ b/plugins/New_GPG/src/utilities.cpp
@@ -1413,21 +1413,21 @@ void ExportGpGKeysFunc(int type)
case DBVT_BYTE:
{
char _id[64];
- mir_snprintf(_id, 64, "%d", dbv.bVal);
+ mir_snprintf(_id, SIZEOF(_id), "%d", dbv.bVal);
id += _id;
}
break;
case DBVT_WORD:
{
char _id[64];
- mir_snprintf(_id, 64, "%d", dbv.wVal);
+ mir_snprintf(_id, SIZEOF(_id), "%d", dbv.wVal);
id += _id;
}
break;
case DBVT_DWORD:
{
char _id[64];
- mir_snprintf(_id, 64, "%d", dbv.dVal);
+ mir_snprintf(_id, SIZEOF(_id), "%d", dbv.dVal);
id += _id;
}
break;
@@ -1464,21 +1464,21 @@ void ExportGpGKeysFunc(int type)
case DBVT_BYTE:
{
char _id[64];
- mir_snprintf(_id, 64, "%d", dbv.bVal);
+ mir_snprintf(_id, SIZEOF(_id), "%d", dbv.bVal);
id += _id;
}
break;
case DBVT_WORD:
{
char _id[64];
- mir_snprintf(_id, 64, "%d", dbv.wVal);
+ mir_snprintf(_id, SIZEOF(_id), "%d", dbv.wVal);
id += _id;
}
break;
case DBVT_DWORD:
{
char _id[64];
- mir_snprintf(_id, 64, "%d", dbv.dVal);
+ mir_snprintf(_id, SIZEOF(_id), "%d", dbv.dVal);
id += _id;
}
break;
@@ -1617,7 +1617,7 @@ INT_PTR ImportGpGKeys(WPARAM w, LPARAM l)
case DBVT_BYTE:
{
char _id[64];
- mir_snprintf(_id, 64, "%d", dbv.bVal);
+ mir_snprintf(_id, SIZEOF(_id), "%d", dbv.bVal);
id += _id;
if(id == login)
acc = accs[i]->szModuleName;
@@ -1626,7 +1626,7 @@ INT_PTR ImportGpGKeys(WPARAM w, LPARAM l)
case DBVT_WORD:
{
char _id[64];
- mir_snprintf(_id, 64, "%d", dbv.wVal);
+ mir_snprintf(_id, SIZEOF(_id), "%d", dbv.wVal);
id += _id;
if(id == login)
acc = accs[i]->szModuleName;
@@ -1635,7 +1635,7 @@ INT_PTR ImportGpGKeys(WPARAM w, LPARAM l)
case DBVT_DWORD:
{
char _id[64];
- mir_snprintf(_id, 64, "%d", dbv.dVal);
+ mir_snprintf(_id, SIZEOF(_id), "%d", dbv.dVal);
id += _id;
if(id == login)
acc = accs[i]->szModuleName;
@@ -1686,7 +1686,7 @@ INT_PTR ImportGpGKeys(WPARAM w, LPARAM l)
case DBVT_BYTE:
{
char _id[64];
- mir_snprintf(_id, 64, "%d", dbv.bVal);
+ mir_snprintf(_id, SIZEOF(_id), "%d", dbv.bVal);
id += _id;
if(id == contact_id)
found = true;
@@ -1695,7 +1695,7 @@ INT_PTR ImportGpGKeys(WPARAM w, LPARAM l)
case DBVT_WORD:
{
char _id[64];
- mir_snprintf(_id, 64, "%d", dbv.wVal);
+ mir_snprintf(_id, SIZEOF(_id), "%d", dbv.wVal);
id += _id;
if(id == contact_id)
found = true;
@@ -1704,7 +1704,7 @@ INT_PTR ImportGpGKeys(WPARAM w, LPARAM l)
case DBVT_DWORD:
{
char _id[64];
- mir_snprintf(_id, 64, "%d", dbv.dVal);
+ mir_snprintf(_id, SIZEOF(_id), "%d", dbv.dVal);
id += _id;
if(id == contact_id)
found = true;