winex11.drv: Mark some fall-throughs in switch statements.
This commit is contained in:
parent
6cc9a89c8a
commit
53a8746dcd
|
@ -437,11 +437,17 @@ static void X11DRV_DIB_SetImageBits_1( int lines, const BYTE *srcbits,
|
||||||
switch (width & 7)
|
switch (width & 7)
|
||||||
{
|
{
|
||||||
case 7: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
case 7: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
||||||
|
/* fall through */
|
||||||
case 6: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
case 6: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
||||||
|
/* fall through */
|
||||||
case 5: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
case 5: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
||||||
|
/* fall through */
|
||||||
case 4: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
case 4: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
||||||
|
/* fall through */
|
||||||
case 3: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
case 3: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
||||||
|
/* fall through */
|
||||||
case 2: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
case 2: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]); srcval<<=1;
|
||||||
|
/* fall through */
|
||||||
case 1: XPutPixel(bmpImage, x++, h, colors[srcval >> 7]);
|
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:
|
case VK_RSHIFT:
|
||||||
/* R-Shift is "special" - it is an extended key with separate scan code */
|
/* R-Shift is "special" - it is an extended key with separate scan code */
|
||||||
scanCode |= 0x100;
|
scanCode |= 0x100;
|
||||||
|
/* fall through */
|
||||||
case VK_LSHIFT:
|
case VK_LSHIFT:
|
||||||
vkey = VK_SHIFT;
|
vkey = VK_SHIFT;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue