[EXPLORER] Add missing 'break' statements. Spotted by mudhead. CORE-14518

This commit is contained in:
Hermès Bélusca-Maïto 2018-04-02 16:12:25 +02:00
parent 2da4999011
commit 2f108ac8a8
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -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;