winex11.drv: Mark some fall-throughs in switch statements.

This commit is contained in:
Andrew Talbot 2011-10-17 20:29:58 +01:00 committed by Alexandre Julliard
parent 6cc9a89c8a
commit 53a8746dcd
2 changed files with 7 additions and 0 deletions

View file

@ -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]);
}
}

View file

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