Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
53a8746d
Commit
53a8746d
authored
Oct 17, 2011
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Mark some fall-throughs in switch statements.
parent
6cc9a89c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
dib.c
dlls/winex11.drv/dib.c
+6
-0
keyboard.c
dlls/winex11.drv/keyboard.c
+1
-0
No files found.
dlls/winex11.drv/dib.c
View file @
53a8746d
...
...
@@ -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
]);
}
}
...
...
dlls/winex11.drv/keyboard.c
View file @
53a8746d
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment