summaryrefslogtreecommitdiff
path: root/plugins/YahooGroups/src/services.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/YahooGroups/src/services.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/YahooGroups/src/services.cpp')
-rw-r--r--plugins/YahooGroups/src/services.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/YahooGroups/src/services.cpp b/plugins/YahooGroups/src/services.cpp
index f13cd473ff..fe79736be4 100644
--- a/plugins/YahooGroups/src/services.cpp
+++ b/plugins/YahooGroups/src/services.cpp
@@ -53,7 +53,7 @@ void ReadAvailableGroups()
while (ok)
{
- mir_snprintf(tmp, SIZEOF(tmp), "%d", index);
+ mir_snprintf(tmp, "%d", index);
GetStringFromDatabase(NULL, CLIST_GROUPS, tmp, NULL, group, sizeof(group));
if (mir_strlen(group) > 0)
{
@@ -76,7 +76,7 @@ int GetNextGroupIndex()
while (!found)
{
- mir_snprintf(tmp, SIZEOF(tmp), "%d", index++);
+ mir_snprintf(tmp, "%d", index++);
if (GetStringFromDatabase(NULL, CLIST_GROUPS, tmp, NULL, buffer, sizeof(buffer)))
{
@@ -97,7 +97,7 @@ void AddNewGroup(const char *newGroup)
*group = 1;
strncpy_s((group + 1), (SIZEOF(group) - 1), newGroup, _TRUNCATE);
- mir_snprintf(tmp, SIZEOF(tmp), "%d", index);
+ mir_snprintf(tmp, "%d", index);
const int MAX_SIZE = 1024;
wchar_t wide[MAX_SIZE] = {0};
*wide = 1;