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
88cae5d4
Commit
88cae5d4
authored
Aug 24, 2010
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling fixes.
parent
b5d824bd
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
16 deletions
+16
-16
htmlelem.c
dlls/mshtml/htmlelem.c
+1
-1
typelib.c
dlls/oleaut32/tests/typelib.c
+1
-1
shlfolder.c
dlls/shell32/tests/shlfolder.c
+1
-1
uri.c
dlls/urlmon/tests/uri.c
+2
-2
uri.c
dlls/urlmon/uri.c
+11
-11
No files found.
dlls/mshtml/htmlelem.c
View file @
88cae5d4
...
...
@@ -1718,7 +1718,7 @@ HTMLElement *HTMLElement_Create(HTMLDocumentNode *doc, nsIDOMNode *nsnode, BOOL
return
ret
;
}
/* inter
a
face IHTMLFiltersCollection */
/* interface IHTMLFiltersCollection */
static
HRESULT
WINAPI
HTMLFiltersCollection_QueryInterface
(
IHTMLFiltersCollection
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
HTMLFiltersCollection
*
This
=
HTMLFILTERSCOLLECTION_THIS
(
iface
);
...
...
dlls/oleaut32/tests/typelib.c
View file @
88cae5d4
...
...
@@ -294,7 +294,7 @@ static void test_TypeComp(void)
ITypeInfo_ReleaseFuncDesc
(
pTypeInfo
,
bindptr
.
lpfuncdesc
);
ITypeInfo_Release
(
pTypeInfo
);
/* tests non
-
existent members */
/* tests nonexistent members */
desckind
=
0xdeadbeef
;
bindptr
.
lptcomp
=
(
ITypeComp
*
)
0xdeadbeef
;
pTypeInfo
=
(
ITypeInfo
*
)
0xdeadbeef
;
...
...
dlls/shell32/tests/shlfolder.c
View file @
88cae5d4
...
...
@@ -3566,7 +3566,7 @@ static void test_GetUIObject(void)
ZeroMemory
(
&
cmi
,
sizeof
(
CMINVOKECOMMANDINFO
));
cmi
.
cbSize
=
sizeof
(
CMINVOKECOMMANDINFO
);
/* Attempt to execute
non-existing
command */
/* Attempt to execute
a nonexistent
command */
cmi
.
lpVerb
=
MAKEINTRESOURCEA
(
9999
);
hr
=
IContextMenu_InvokeCommand
(
pcm
,
&
cmi
);
ok
(
hr
==
E_INVALIDARG
,
"Got 0x%08x
\n
"
,
hr
);
...
...
dlls/urlmon/tests/uri.c
View file @
88cae5d4
...
...
@@ -662,7 +662,7 @@ static const uri_properties uri_tests[] = {
{
URLZONE_INVALID
,
E_NOTIMPL
,
FALSE
}
}
},
/* Windows uses the first occurence of ':' to delimit the userinfo. */
/* Windows uses the first occur
r
ence of ':' to delimit the userinfo. */
{
"ftp://user:pass:word@winehq.org/"
,
0
,
S_OK
,
FALSE
,
Uri_HAS_ABSOLUTE_URI
|
Uri_HAS_AUTHORITY
|
Uri_HAS_DISPLAY_URI
|
Uri_HAS_DOMAIN
|
Uri_HAS_HOST
|
Uri_HAS_PASSWORD
|
Uri_HAS_PATH
|
Uri_HAS_PATH_AND_QUERY
|
Uri_HAS_RAW_URI
|
...
...
@@ -1414,7 +1414,7 @@ static const uri_properties uri_tests[] = {
{
URLZONE_INVALID
,
E_NOTIMPL
,
FALSE
}
}
},
/* Valid URI since the '[' and ']' don't appear at the begining and end
/* Valid URI since the '[' and ']' don't appear at the begin
n
ing and end
* of the host name (respectively).
*/
{
"ftp://www.[works].com/"
,
0
,
S_OK
,
FALSE
,
...
...
dlls/urlmon/uri.c
View file @
88cae5d4
...
...
@@ -463,7 +463,7 @@ static inline void pct_encode_val(WCHAR val, WCHAR *dest) {
dest
[
2
]
=
hexDigits
[
val
&
0xf
];
}
/* Scans the range of characters [str, end] and returns the last occurence
/* Scans the range of characters [str, end] and returns the last occur
r
ence
* of 'ch' or returns NULL.
*/
static
const
WCHAR
*
str_last_of
(
const
WCHAR
*
str
,
const
WCHAR
*
end
,
WCHAR
ch
)
{
...
...
@@ -533,7 +533,7 @@ static void find_domain_name(const WCHAR *host, DWORD host_len,
return
;
}
}
else
if
(
last_tld
-
host
<
3
)
/* Anything less th
e
n 3 characters is considered part
/* Anything less th
a
n 3 characters is considered part
* of the TLD name.
* Ex: ak.uk -> Has no domain name.
*/
...
...
@@ -542,7 +542,7 @@ static void find_domain_name(const WCHAR *host, DWORD host_len,
/* Otherwise the domain name is the whole host name. */
*
domain_start
=
0
;
}
else
if
(
end
+
1
-
last_tld
>
3
)
{
/* If the last_tld has more th
en 3 characters
then it's automatically
/* If the last_tld has more th
an 3 characters,
then it's automatically
* considered the TLD of the domain name.
* Ex: www.winehq.org.uk.test -> uk.test as the domain name.
*/
...
...
@@ -572,7 +572,7 @@ static void find_domain_name(const WCHAR *host, DWORD host_len,
*
domain_start
=
(
sec_last_tld
+
1
)
-
host
;
}
else
{
/* Since the sec_last_tld is less th
e
n 3 characters it's considered
/* Since the sec_last_tld is less th
a
n 3 characters it's considered
* part of the TLD.
* Ex: www.google.fo.uk -> google.fo.uk as the domain name.
*/
...
...
@@ -584,7 +584,7 @@ static void find_domain_name(const WCHAR *host, DWORD host_len,
*
domain_start
=
(
domain
+
1
)
-
host
;
}
}
else
{
/* The second to last TLD has more th
e
n 3 characters making it
/* The second to last TLD has more th
a
n 3 characters making it
* the domain name.
* Ex: www.google.test.us -> test.us as the domain name.
*/
...
...
@@ -595,7 +595,7 @@ static void find_domain_name(const WCHAR *host, DWORD host_len,
(
host
+
host_len
)
-
(
host
+*
domain_start
)));
}
/* Removes the dot segments from a h
ei
rarchical URIs path component. This
/* Removes the dot segments from a h
ie
rarchical URIs path component. This
* function performs the removal in place.
*
* This is a modified version of Qt's QUrl function "removeDotsFromPath".
...
...
@@ -719,7 +719,7 @@ static void compute_elision_location(const ipv6_address *address, const USHORT v
if
(
is_end
||
values
[
i
]
!=
0
)
{
/* We only consider it for an elision if it's
* more th
e
n 1 component long.
* more th
a
n 1 component long.
*/
if
(
cur_len
>
1
&&
cur_len
>
max_len
)
{
/* Found the new elision location. */
...
...
@@ -1190,7 +1190,7 @@ static BOOL parse_scheme(const WCHAR **ptr, parse_data *data, DWORD flags) {
*
* NOTES:
* 1) If there is more than one ':' in the userinfo part of the URI Windows
* uses the first occurence of ':' to delimit the username and password
* uses the first occur
r
ence of ':' to delimit the username and password
* components.
*
* ex:
...
...
@@ -1484,7 +1484,7 @@ static BOOL parse_ipv6address(const WCHAR **ptr, parse_data *data, DWORD flags)
BOOL
is_split
=
(
**
ptr
==
':'
);
BOOL
is_elision
=
(
is_split
&&
!
is_end
&&
*
(
*
ptr
+
1
)
==
':'
);
/* Check if we're at the end of
of the
a component, or
/* Check if we're at the end of a component, or
* if we're at the end of the IPv6 address.
*/
if
(
is_split
||
is_end
)
{
...
...
@@ -1509,7 +1509,7 @@ static BOOL parse_ipv6address(const WCHAR **ptr, parse_data *data, DWORD flags)
if
(
!
((
*
ptr
==
start
&&
is_elision
)
||
(
is_end
&&
(
*
ptr
-
2
)
==
ip
.
elision
)))
{
*
ptr
=
start
;
TRACE
(
"(%p %p %x): IPv6 component can
not have a length of 0.
\n
"
,
TRACE
(
"(%p %p %x): IPv6 component cannot have a length of 0.
\n
"
,
ptr
,
data
,
flags
);
return
FALSE
;
}
...
...
@@ -1621,7 +1621,7 @@ static BOOL parse_ipvfuture(const WCHAR **ptr, parse_data *data, DWORD flags) {
if
(
**
ptr
!=
'v'
&&
**
ptr
!=
'V'
)
return
FALSE
;
/* Following the v the
ir must be atleast 1 hex
digit. */
/* Following the v the
re must be at least 1 hex
digit. */
++
(
*
ptr
);
if
(
!
is_hexdigit
(
**
ptr
))
{
*
ptr
=
start
;
...
...
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