diff options
author | George Hazan <george.hazan@gmail.com> | 2014-12-01 22:33:28 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-12-01 22:33:28 +0000 |
commit | 479afe080204f0fdcd8ff96ef9d07a819d56b1da (patch) | |
tree | 5c08148c82332d6f222635a43bcbd465725120df /plugins/DbEditorPP/src/exportimport.cpp | |
parent | 556d6a85c9d5f4e2d29b94526689568b4081c006 (diff) |
cretinous PVS with its cretinous heuristics
git-svn-id: http://svn.miranda-ng.org/main/trunk@11207 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/DbEditorPP/src/exportimport.cpp')
-rw-r--r-- | plugins/DbEditorPP/src/exportimport.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/DbEditorPP/src/exportimport.cpp b/plugins/DbEditorPP/src/exportimport.cpp index d0644db814..b115f8689d 100644 --- a/plugins/DbEditorPP/src/exportimport.cpp +++ b/plugins/DbEditorPP/src/exportimport.cpp @@ -423,7 +423,7 @@ void importSettings(MCONTACT hContact, char *importstring ) else if (importstring[i] == '[' && !strchr(&importstring[i+1],'='))// get the module
{
if (end = strpbrk(&importstring[i+1], "]")) {
- if (*(end+1) != '\0') *end = '\0';
+ *end = '\0';
strcpy(module, &importstring[i+1]);
}
}
@@ -431,7 +431,7 @@ void importSettings(MCONTACT hContact, char *importstring ) !strchr(&importstring[i+2],'='))// get the module
{
if (end = strpbrk(&importstring[i+2], "]")) {
- if (*(end+1) != '\0') *end = '\0';
+ *end = '\0';
strcpy(module, &importstring[i+2]);
deleteModule(module, hContact, 1);
}
@@ -439,7 +439,7 @@ void importSettings(MCONTACT hContact, char *importstring ) else if (strstr(&importstring[i], "=") && module[0]) // get the setting
{
if (end = strpbrk(&importstring[i+1], "=")) {
- if (*(end+1) != '\0') *end = '\0';
+ *end = '\0';
strcpy(setting, &importstring[i]);
// get the type
|