https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a7ddabcc128c882df214de984e941e32e25b53a4

commit a7ddabcc128c882df214de984e941e32e25b53a4
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Mon Apr 22 21:25:41 2019 +0200
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Mon Apr 22 21:25:41 2019 +0200

    [EXPLORER] Minor cleanup/comment fixes.
---
 base/shell/explorer/syspager.cpp  | 12 ++++++++----
 base/shell/explorer/trayclock.cpp |  4 +---
 base/shell/explorer/trayntfy.cpp  |  2 +-
 3 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/base/shell/explorer/syspager.cpp b/base/shell/explorer/syspager.cpp
index 1755ebedde..44ccff9b90 100644
--- a/base/shell/explorer/syspager.cpp
+++ b/base/shell/explorer/syspager.cpp
@@ -180,7 +180,8 @@ public:
     void Initialize(HWND hWndParent, CBalloonQueue * queue);
 };
 
-extern const WCHAR szSysPagerWndClass[];
+
+static const WCHAR szSysPagerWndClass[] = L"SysPager";
 
 class CSysPagerWnd :
     public CComCoClass<CSysPagerWnd>,
@@ -258,6 +259,10 @@ public:
     HRESULT Initialize(IN HWND hWndParent);
 };
 
+/*
+ * IconWatcher
+ */
+
 CIconWatcher::CIconWatcher() :
     m_hWatcherThread(NULL),
     m_WakeUpEvent(NULL),
@@ -489,8 +494,8 @@ UINT WINAPI CIconWatcher::WatcherThread(_In_opt_ LPVOID 
lpParam)
 }
 
 /*
-* NotifyToolbar
-*/
+ * BalloonQueue
+ */
 
 CBalloonQueue::CBalloonQueue() :
     m_hwndParent(NULL),
@@ -1255,7 +1260,6 @@ void CNotifyToolbar::Initialize(HWND hWndParent, 
CBalloonQueue * queue)
 /*
  * SysPagerWnd
  */
-const WCHAR szSysPagerWndClass[] = L"SysPager";
 
 CSysPagerWnd::CSysPagerWnd() {}
 
diff --git a/base/shell/explorer/trayclock.cpp 
b/base/shell/explorer/trayclock.cpp
index 8c217c8c4c..f21ba2c110 100644
--- a/base/shell/explorer/trayclock.cpp
+++ b/base/shell/explorer/trayclock.cpp
@@ -39,7 +39,7 @@ const UINT ClockWndFormatsCount = _ARRAYSIZE(ClockWndFormats);
 
 #define CLOCKWND_FORMAT_COUNT ClockWndFormatsCount
 
-extern const WCHAR szTrayClockWndClass[];
+static const WCHAR szTrayClockWndClass[] = L"TrayClockWClass";
 
 class CTrayClockWnd :
     public CComCoClass<CTrayClockWnd>,
@@ -142,8 +142,6 @@ public:
     HRESULT Initialize(IN HWND hWndParent);
 };
 
-const WCHAR szTrayClockWndClass[] = L"TrayClockWClass";
-
 #define ID_TRAYCLOCK_TIMER  0
 #define ID_TRAYCLOCK_TIMER_INIT 1
 
diff --git a/base/shell/explorer/trayntfy.cpp b/base/shell/explorer/trayntfy.cpp
index 4326ca727e..63dc236263 100644
--- a/base/shell/explorer/trayntfy.cpp
+++ b/base/shell/explorer/trayntfy.cpp
@@ -25,7 +25,7 @@
  * TrayNotifyWnd
  */
 
-static const WCHAR szTrayNotifyWndClass [] = TEXT("TrayNotifyWnd");
+static const WCHAR szTrayNotifyWndClass[] = L"TrayNotifyWnd";
 
 #define TRAY_NOTIFY_WND_SPACING_X   1
 #define TRAY_NOTIFY_WND_SPACING_Y   1

Reply via email to