diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-31 10:55:52 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-31 10:55:52 +0000 |
commit | 6cc54049b4e7ba48787758c5332341df6f93be81 (patch) | |
tree | e4712db18280f6099d804abff84739cb7b8c3f7a /plugins/DbEditorPP/src/exportimport.cpp | |
parent | cad77e7d51aef2c4d938fca592921e14d923f8c5 (diff) |
minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@11692 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/DbEditorPP/src/exportimport.cpp')
-rw-r--r-- | plugins/DbEditorPP/src/exportimport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/DbEditorPP/src/exportimport.cpp b/plugins/DbEditorPP/src/exportimport.cpp index eb151581c3..60c1853d13 100644 --- a/plugins/DbEditorPP/src/exportimport.cpp +++ b/plugins/DbEditorPP/src/exportimport.cpp @@ -13,7 +13,7 @@ static int Openfile(TCHAR *outputFile, const char *module) if (module) {
int n = 0;
- mir_strncpy(filename, module, MAX_PATH);
+ mir_strncpy(filename, module, SIZEOF(filename));
while (filename[n]) {
switch (filename[n]) {
|