mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
winex11.drv: Mark some fall-throughs in switch statements.
This commit is contained in:
parent
6cc9a89c8a
commit
53a8746dcd
2 changed files with 7 additions and 0 deletions
|
@ -437,11 +437,17 @@ static void X11DRV_DIB_SetImageBits_1( int lines, const BYTE *srcbits,
|
|||
switch (width & 7)
|
||||
{
|
||||
case 7: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
||||
/* fall through */
|
||||
case 6: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
||||
/* fall through */
|
||||
case 5: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
||||
/* fall through */
|
||||
case 4: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
||||
/* fall through */
|
||||
case 3: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
||||
/* fall through */
|
||||
case 2: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
||||
/* fall through */
|
||||
case 1: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2242,6 +2242,7 @@ INT CDECL X11DRV_GetKeyNameText(LONG lParam, LPWSTR lpBuffer, INT nSize)
|
|||
case VK_RSHIFT:
|
||||
/* R-Shift is "special" - it is an extended key with separate scan code */
|
||||
scanCode |= 0x100;
|
||||
/* fall through */
|
||||
case VK_LSHIFT:
|
||||
vkey = VK_SHIFT;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue