Commit 53a8746d authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

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

parent 6cc9a89c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment