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
53914087
Commit
53914087
authored
Feb 20, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winapi_check: Clarify a pair of error messages.
Don't use a regular expression if not necessary.
parent
03bcef1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
winapi_documentation.pm
tools/winapi/winapi_documentation.pm
+3
-3
No files found.
tools/winapi/winapi_documentation.pm
View file @
53914087
...
...
@@ -137,7 +137,7 @@ sub check_documentation($) {
}
elsif
(
$ordinal
eq
"init"
)
{
$ordinal
=
0
;
}
else
{
$output
->
write
(
"documentation:
$external_name (\U$module\E.$ordinal) wrong1
\n"
);
$output
->
write
(
"documentation:
invalid ordinal for $external_name (\U$module\E.$ordinal)
\n"
);
next
;
}
...
...
@@ -164,8 +164,8 @@ sub check_documentation($) {
}
if
(
!
$found
&&
$external_name
ne
"DllMain"
&&
$ordinal
!~
/^0$/
)
{
$output
->
write
(
"documentation: $external_name (\U$module\E.$ordinal)
wrong2
\n"
);
if
(
!
$found
&&
$external_name
ne
"DllMain"
&&
$ordinal
ne
"0"
)
{
$output
->
write
(
"documentation: $external_name (\U$module\E.$ordinal)
not declared in the spec file
\n"
);
}
}
}
...
...
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