(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
This commit is contained in:
@@ -610,7 +610,7 @@ static bool QZ_PollEvent()
|
||||
* the mouse position programmatically, which would trigger OS X to show
|
||||
* the default arrow cursor if the events are propagated. */
|
||||
if (_cursor.fix_at) break;
|
||||
/* FALL THROUGH */
|
||||
FALLTHROUGH;
|
||||
|
||||
default:
|
||||
[ NSApp sendEvent:event ];
|
||||
|
@@ -680,7 +680,7 @@ static LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
|
||||
|
||||
case WM_PALETTECHANGED:
|
||||
if ((HWND)wParam == hwnd) return 0;
|
||||
/* FALL THROUGH */
|
||||
FALLTHROUGH;
|
||||
|
||||
case WM_QUERYNEWPALETTE: {
|
||||
HDC hDC = GetWindowDC(hwnd);
|
||||
|
Reference in New Issue
Block a user