summaryrefslogtreecommitdiff
path: root/plugins/Db_autobackups/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Db_autobackups/src/main.cpp')
-rw-r--r--plugins/Db_autobackups/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Db_autobackups/src/main.cpp b/plugins/Db_autobackups/src/main.cpp
index aad3eef30a..a0a2e37751 100644
--- a/plugins/Db_autobackups/src/main.cpp
+++ b/plugins/Db_autobackups/src/main.cpp
@@ -28,7 +28,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD, LPVOID)
static INT_PTR ABService(WPARAM, LPARAM)
{
- BackupStart(NULL);
+ BackupStart(nullptr);
return 0;
}
@@ -90,7 +90,7 @@ static int ModulesLoad(WPARAM, LPARAM)
options.use_dropbox = (BOOL)(db_get_b(0, "AutoBackups", "UseDropbox", 0) && ServiceExists(MS_DROPBOX_UPLOAD));
if (options.backup_types & BT_START)
- BackupStart(NULL);
+ BackupStart(nullptr);
return 0;
}
@@ -100,7 +100,7 @@ static int PreShutdown(WPARAM, LPARAM)
{
if (options.backup_types & BT_EXIT) {
options.disable_popups = 1; // Don't try to show popups on exit
- BackupStart(NULL);
+ BackupStart(nullptr);
}
return 0;
}