summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src/exportimport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/DbEditorPP/src/exportimport.cpp')
-rw-r--r--plugins/DbEditorPP/src/exportimport.cpp2
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]) {