summaryrefslogtreecommitdiff
path: root/plugins/YAMN/src/protoplugin.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2014-12-09 21:55:24 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2014-12-09 21:55:24 +0000
commit244b5197bb98552ab4a9219362f1836379339d4a (patch)
tree703888b1fc8d23bdc1d299b90dc681908e6fe359 /plugins/YAMN/src/protoplugin.cpp
parentf922598fe5b4e5110ae1ac1b512dd53a82e8f80d (diff)
revert - this change was breaking YAMN profile creation and recognition
git-svn-id: http://svn.miranda-ng.org/main/trunk@11310 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAMN/src/protoplugin.cpp')
-rw-r--r--plugins/YAMN/src/protoplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YAMN/src/protoplugin.cpp b/plugins/YAMN/src/protoplugin.cpp
index 25adc72647..655ba4d238 100644
--- a/plugins/YAMN/src/protoplugin.cpp
+++ b/plugins/YAMN/src/protoplugin.cpp
@@ -184,7 +184,7 @@ INT_PTR GetFileNameSvc(WPARAM wParam,LPARAM)
if (FileName == NULL)
return NULL;
- mir_sntprintf(FileName, SIZEOF(FileName), _T("%s\\yamn-accounts.%s.%s.book"), UserDirectory, wParam, ProfileName);
+ mir_sntprintf(FileName, MAX_PATH, _T("%s\\yamn-accounts.%s.%s.book"), UserDirectory, wParam, ProfileName);
return (INT_PTR)FileName;
}