summaryrefslogtreecommitdiff
path: root/plugins/SeenPlugin/src/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SeenPlugin/src/file.cpp')
-rw-r--r--plugins/SeenPlugin/src/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SeenPlugin/src/file.cpp b/plugins/SeenPlugin/src/file.cpp
index 411d85a71e..ac3d85b774 100644
--- a/plugins/SeenPlugin/src/file.cpp
+++ b/plugins/SeenPlugin/src/file.cpp
@@ -56,7 +56,7 @@ void UninitFileOutput()
void FileWrite(MCONTACT hcontact)
{
FILE *log = _wfopen(ParseString(g_ptszFileName, hcontact), L"a");
- if (log != NULL) {
+ if (log != nullptr) {
fputws(ParseString(g_ptszFileStamp, hcontact), log);
fputs("\r\n", log);
fclose(log);