diff options
Diffstat (limited to 'plugins/RemovePersonalSettings/src/rps.cpp')
-rw-r--r-- | plugins/RemovePersonalSettings/src/rps.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/RemovePersonalSettings/src/rps.cpp b/plugins/RemovePersonalSettings/src/rps.cpp index 4a82bef678..b135fe2445 100644 --- a/plugins/RemovePersonalSettings/src/rps.cpp +++ b/plugins/RemovePersonalSettings/src/rps.cpp @@ -272,7 +272,7 @@ void RemoveProtocolSettings(const char * protocolName) // Delete it
if (name[0] != '\0') {
- mir_snprintf(moduleName, _countof(moduleName), "%s%s", protocolName, name);
+ mir_snprintf(moduleName, "%s%s", protocolName, name);
DeleteSettingEx(moduleName, NULL);
}
@@ -410,7 +410,7 @@ void RemoveDirectories() if (accounts[i]->szModuleName == NULL || accounts[i]->szModuleName[0] == '\0')
continue;
- mir_snprintf(dir, _countof(dir), "%s%s", gMirandaDir, accounts[i]->szModuleName);
+ mir_snprintf(dir, "%s%s", gMirandaDir, accounts[i]->szModuleName);
DeleteFileOrFolder(dir);
}
}
@@ -434,7 +434,7 @@ void RemoveDirectories() // Delete it
if (name[0] != '\0') {
- mir_snprintf(dir, _countof(dir), "%s%s", gMirandaDir, name);
+ mir_snprintf(dir, "%s%s", gMirandaDir, name);
DeleteFileOrFolder(dir);
}
|