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
f5adac3b
Commit
f5adac3b
authored
Dec 24, 2007
by
Jeremy White
Committed by
Alexandre Julliard
Dec 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintab32: Don't return information for non existent cursors.
parent
9267fcd9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
wintab.c
dlls/winex11.drv/wintab.c
+9
-0
No files found.
dlls/winex11.drv/wintab.c
View file @
f5adac3b
...
...
@@ -1129,6 +1129,14 @@ UINT X11DRV_WTInfoW(UINT wCategory, UINT nIndex, LPVOID lpOutput)
case
WTI_CURSORS
+
7
:
case
WTI_CURSORS
+
8
:
case
WTI_CURSORS
+
9
:
if
(
wCategory
-
WTI_CURSORS
>=
gNumCursors
)
{
rc
=
0
;
WARN
(
"Requested cursor information for non existent cursor %d; only %d cursors
\n
"
,
wCategory
-
WTI_CURSORS
,
gNumCursors
);
}
else
{
tgtcursor
=
&
gSysCursor
[
wCategory
-
WTI_CURSORS
];
switch
(
nIndex
)
{
...
...
@@ -1219,6 +1227,7 @@ UINT X11DRV_WTInfoW(UINT wCategory, UINT nIndex, LPVOID lpOutput)
FIXME
(
"WTI_CURSORS unhandled index %i
\n
"
,
nIndex
);
rc
=
0
;
}
}
break
;
case
WTI_DEVICES
:
switch
(
nIndex
)
...
...
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