summaryrefslogtreecommitdiff
path: root/plugins/FloatingContacts/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FloatingContacts/src')
-rw-r--r--plugins/FloatingContacts/src/filedrop.h3
-rw-r--r--plugins/FloatingContacts/src/thumbs.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/plugins/FloatingContacts/src/filedrop.h b/plugins/FloatingContacts/src/filedrop.h
index af384c67d3..9ca6441865 100644
--- a/plugins/FloatingContacts/src/filedrop.h
+++ b/plugins/FloatingContacts/src/filedrop.h
@@ -1,8 +1,9 @@
/* This file is a modification of clcfiledrop.h originally
written by Richard Hughes*/
-static HWND hwndCurDrag = NULL;
+#pragma once
+static HWND hwndCurDrag = nullptr;
class CDropTarget: public IDropTarget
{
private:
diff --git a/plugins/FloatingContacts/src/thumbs.h b/plugins/FloatingContacts/src/thumbs.h
index d3e8d396d1..b7af34f8f3 100644
--- a/plugins/FloatingContacts/src/thumbs.h
+++ b/plugins/FloatingContacts/src/thumbs.h
@@ -1,5 +1,5 @@
-/////////////////////////////////////////////////////////////////////////////
-//
+#pragma once
+
#define USERNAME_LEN 50
class CDropTarget;