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
f94159cd
Commit
f94159cd
authored
Nov 03, 2003
by
Huw Davies
Committed by
Alexandre Julliard
Nov 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't get confused if PSN_SETACTIVE returns a positive number that
isn't a resource id.
parent
b37adfb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
propsheet.c
dlls/comctl32/propsheet.c
+10
-4
No files found.
dlls/comctl32/propsheet.c
View file @
f94159cd
...
...
@@ -2028,19 +2028,25 @@ static BOOL PROPSHEET_SetCurSel(HWND hwndDlg,
index
+=
skipdir
;
if
(
index
<
0
)
{
index
=
0
;
FIXME
(
"Tried to skip before first property sheet page!
\n
"
);
WARN
(
"Tried to skip before first property sheet page!
\n
"
);
break
;
}
if
(
index
>=
psInfo
->
nPages
)
{
FIXME
(
"Tried to skip after last property sheet page!
\n
"
);
WARN
(
"Tried to skip after last property sheet page!
\n
"
);
index
=
psInfo
->
nPages
-
1
;
break
;
}
}
else
if
(
result
!=
0
)
{
index
=
PROPSHEET_FindPageByResId
(
psInfo
,
result
);
continue
;
int
old_index
=
index
;
index
=
PROPSHEET_FindPageByResId
(
psInfo
,
result
);
if
(
index
>=
psInfo
->
nPages
)
{
index
=
old_index
;
WARN
(
"Tried to skip to nonexistant page by res id
\n
"
);
break
;
}
continue
;
}
}
/*
...
...
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