https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2f108ac8a87d460af611b…
commit 2f108ac8a87d460af611b443a581718bfd507a6e
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Mon Apr 2 16:12:25 2018 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Mon Apr 2 16:12:25 2018 +0200
[EXPLORER] Add missing 'break' statements. Spotted by mudhead. CORE-14518
---
base/shell/explorer/syspager.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/base/shell/explorer/syspager.cpp b/base/shell/explorer/syspager.cpp
index fa2aa73b36..5340ba4921 100644
--- a/base/shell/explorer/syspager.cpp
+++ b/base/shell/explorer/syspager.cpp
@@ -1283,9 +1283,11 @@ BOOL CSysPagerWnd::NotifyIcon(DWORD dwMessage, _In_ CONST
NOTIFYICONDATA *iconDa
(void)AddIconToWatcher(iconData);
}
break;
+
case NIM_MODIFY:
ret = Toolbar.UpdateButton(iconData);
break;
+
case NIM_DELETE:
ret = Toolbar.RemoveButton(iconData);
if (ret == TRUE)
@@ -1293,11 +1295,16 @@ BOOL CSysPagerWnd::NotifyIcon(DWORD dwMessage, _In_ CONST
NOTIFYICONDATA *iconDa
(void)RemoveIconFromWatcher(iconData);
}
break;
+
case NIM_SETFOCUS:
Toolbar.SetFocus();
ret = TRUE;
+ break;
+
case NIM_SETVERSION:
ret = Toolbar.SwitchVersion(iconData);
+ break;
+
default:
TRACE("NotifyIcon received with unknown code %d.\n", dwMessage);
return FALSE;