mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 04:14:10 +00:00
[EXPLORER] Add missing 'break' statements. Spotted by mudhead. CORE-14518
This commit is contained in:
parent
2da4999011
commit
2f108ac8a8
1 changed files with 7 additions and 0 deletions
|
@ -1283,9 +1283,11 @@ BOOL CSysPagerWnd::NotifyIcon(DWORD dwMessage, _In_ CONST NOTIFYICONDATA *iconDa
|
||||||
(void)AddIconToWatcher(iconData);
|
(void)AddIconToWatcher(iconData);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NIM_MODIFY:
|
case NIM_MODIFY:
|
||||||
ret = Toolbar.UpdateButton(iconData);
|
ret = Toolbar.UpdateButton(iconData);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NIM_DELETE:
|
case NIM_DELETE:
|
||||||
ret = Toolbar.RemoveButton(iconData);
|
ret = Toolbar.RemoveButton(iconData);
|
||||||
if (ret == TRUE)
|
if (ret == TRUE)
|
||||||
|
@ -1293,11 +1295,16 @@ BOOL CSysPagerWnd::NotifyIcon(DWORD dwMessage, _In_ CONST NOTIFYICONDATA *iconDa
|
||||||
(void)RemoveIconFromWatcher(iconData);
|
(void)RemoveIconFromWatcher(iconData);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NIM_SETFOCUS:
|
case NIM_SETFOCUS:
|
||||||
Toolbar.SetFocus();
|
Toolbar.SetFocus();
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
|
break;
|
||||||
|
|
||||||
case NIM_SETVERSION:
|
case NIM_SETVERSION:
|
||||||
ret = Toolbar.SwitchVersion(iconData);
|
ret = Toolbar.SwitchVersion(iconData);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
TRACE("NotifyIcon received with unknown code %d.\n", dwMessage);
|
TRACE("NotifyIcon received with unknown code %d.\n", dwMessage);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue