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
4823b2c7
Commit
4823b2c7
authored
Sep 01, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling fixes.
parent
521a69fa
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
19 deletions
+21
-19
service.c
dlls/advapi32/tests/service.c
+6
-6
d3dxof.c
dlls/d3dxof/d3dxof.c
+2
-2
task.c
dlls/mstask/tests/task.c
+3
-3
task_scheduler.c
dlls/mstask/tests/task_scheduler.c
+1
-1
table.c
dlls/riched20/table.c
+2
-2
intshcut.c
dlls/shdocvw/tests/intshcut.c
+1
-1
directx.c
dlls/wined3d/directx.c
+1
-1
winhttp.c
dlls/winhttp/tests/winhttp.c
+5
-3
No files found.
dlls/advapi32/tests/service.c
View file @
4823b2c7
...
@@ -1110,7 +1110,7 @@ static void test_enum_svc(void)
...
@@ -1110,7 +1110,7 @@ static void test_enum_svc(void)
/* Store the number of returned services */
/* Store the number of returned services */
tempreturned
=
returned
;
tempreturned
=
returned
;
/* Allocate less th
e
n the needed bytes and don't specify a resume handle */
/* Allocate less th
a
n the needed bytes and don't specify a resume handle */
services
=
HeapAlloc
(
GetProcessHeap
(),
0
,
tempneeded
-
1
);
services
=
HeapAlloc
(
GetProcessHeap
(),
0
,
tempneeded
-
1
);
bufsize
=
tempneeded
-
1
;
bufsize
=
tempneeded
-
1
;
needed
=
0xdeadbeef
;
needed
=
0xdeadbeef
;
...
@@ -1128,7 +1128,7 @@ static void test_enum_svc(void)
...
@@ -1128,7 +1128,7 @@ static void test_enum_svc(void)
}
}
HeapFree
(
GetProcessHeap
(),
0
,
services
);
HeapFree
(
GetProcessHeap
(),
0
,
services
);
/* Allocate less th
e
n the needed bytes, this time with a correct resume handle */
/* Allocate less th
a
n the needed bytes, this time with a correct resume handle */
services
=
HeapAlloc
(
GetProcessHeap
(),
0
,
tempneeded
-
1
);
services
=
HeapAlloc
(
GetProcessHeap
(),
0
,
tempneeded
-
1
);
bufsize
=
tempneeded
-
1
;
bufsize
=
tempneeded
-
1
;
needed
=
0xdeadbeef
;
needed
=
0xdeadbeef
;
...
@@ -1173,8 +1173,8 @@ static void test_enum_svc(void)
...
@@ -1173,8 +1173,8 @@ static void test_enum_svc(void)
/* Vista only shows the drivers with a state of SERVICE_RUNNING as active
/* Vista only shows the drivers with a state of SERVICE_RUNNING as active
* and doesn't count the others as inactive. This means that Vista could
* and doesn't count the others as inactive. This means that Vista could
* show a total that is greater th
en the sum of active and inactive drivers.
* show a total that is greater th
an the sum of active and inactive
*
*
drivers.
* The number of active and inactive drivers is greatly influenced by the
* The number of active and inactive drivers is greatly influenced by the
* time when tests are run, immediately after boot or later for example.
* time when tests are run, immediately after boot or later for example.
*
*
...
@@ -1460,7 +1460,7 @@ static void test_enum_svc(void)
...
@@ -1460,7 +1460,7 @@ static void test_enum_svc(void)
/* Store the number of returned services */
/* Store the number of returned services */
tempreturned
=
returned
;
tempreturned
=
returned
;
/* Allocate less th
e
n the needed bytes and don't specify a resume handle */
/* Allocate less th
a
n the needed bytes and don't specify a resume handle */
exservices
=
HeapAlloc
(
GetProcessHeap
(),
0
,
tempneeded
-
1
);
exservices
=
HeapAlloc
(
GetProcessHeap
(),
0
,
tempneeded
-
1
);
bufsize
=
tempneeded
-
1
;
bufsize
=
tempneeded
-
1
;
needed
=
0xdeadbeef
;
needed
=
0xdeadbeef
;
...
@@ -1478,7 +1478,7 @@ static void test_enum_svc(void)
...
@@ -1478,7 +1478,7 @@ static void test_enum_svc(void)
}
}
HeapFree
(
GetProcessHeap
(),
0
,
exservices
);
HeapFree
(
GetProcessHeap
(),
0
,
exservices
);
/* Allocate less th
e
n the needed bytes, this time with a correct resume handle */
/* Allocate less th
a
n the needed bytes, this time with a correct resume handle */
exservices
=
HeapAlloc
(
GetProcessHeap
(),
0
,
tempneeded
-
1
);
exservices
=
HeapAlloc
(
GetProcessHeap
(),
0
,
tempneeded
-
1
);
bufsize
=
tempneeded
-
1
;
bufsize
=
tempneeded
-
1
;
needed
=
0xdeadbeef
;
needed
=
0xdeadbeef
;
...
...
dlls/d3dxof/d3dxof.c
View file @
4823b2c7
...
@@ -778,7 +778,7 @@ static BOOL parse_template_members_list(parse_buffer * buf)
...
@@ -778,7 +778,7 @@ static BOOL parse_template_members_list(parse_buffer * buf)
}
}
if
(
cur_member
->
idx_template
==
buf
->
pdxf
->
nb_xtemplates
)
if
(
cur_member
->
idx_template
==
buf
->
pdxf
->
nb_xtemplates
)
{
{
TRACE
(
"Reference to
non existing
template '%s'
\n
"
,
(
char
*
)
buf
->
value
);
TRACE
(
"Reference to
a nonexistent
template '%s'
\n
"
,
(
char
*
)
buf
->
value
);
return
FALSE
;
return
FALSE
;
}
}
if
(
check_TOKEN
(
buf
)
==
TOKEN_NAME
)
if
(
check_TOKEN
(
buf
)
==
TOKEN_NAME
)
...
@@ -817,7 +817,7 @@ static BOOL parse_template_members_list(parse_buffer * buf)
...
@@ -817,7 +817,7 @@ static BOOL parse_template_members_list(parse_buffer * buf)
}
}
if
(
cur_member
->
idx_template
==
buf
->
pdxf
->
nb_xtemplates
)
if
(
cur_member
->
idx_template
==
buf
->
pdxf
->
nb_xtemplates
)
{
{
TRACE
(
"Reference to non
existing
template '%s'
\n
"
,
(
char
*
)
buf
->
value
);
TRACE
(
"Reference to non
existent
template '%s'
\n
"
,
(
char
*
)
buf
->
value
);
return
FALSE
;
return
FALSE
;
}
}
}
}
...
...
dlls/mstask/tests/task.c
View file @
4823b2c7
...
@@ -126,7 +126,7 @@ static void test_SetApplicationName_GetApplicationName(void)
...
@@ -126,7 +126,7 @@ static void test_SetApplicationName_GetApplicationName(void)
CoTaskMemFree
(
stored_name
);
CoTaskMemFree
(
stored_name
);
}
}
/* Set application name to a non
-
existent application and then get
/* Set application name to a nonexistent application and then get
* the application name that is actually stored */
* the application name that is actually stored */
hres
=
ITask_SetApplicationName
(
test_task
,
non_application_name
);
hres
=
ITask_SetApplicationName
(
test_task
,
non_application_name
);
ok
(
hres
==
S_OK
,
"Failed setting name %s: %08x
\n
"
,
ok
(
hres
==
S_OK
,
"Failed setting name %s: %08x
\n
"
,
...
@@ -170,8 +170,8 @@ static void test_SetApplicationName_GetApplicationName(void)
...
@@ -170,8 +170,8 @@ static void test_SetApplicationName_GetApplicationName(void)
CoTaskMemFree
(
stored_name
);
CoTaskMemFree
(
stored_name
);
}
}
/* After having a valid application name set, set application name
/* After having a valid application name set, set application
the
name
* to a non
-exista
nt application and then get the name that is
* to a non
existe
nt application and then get the name that is
* actually stored */
* actually stored */
hres
=
ITask_SetApplicationName
(
test_task
,
non_application_name
);
hres
=
ITask_SetApplicationName
(
test_task
,
non_application_name
);
ok
(
hres
==
S_OK
,
"Failed setting name %s: %08x
\n
"
,
ok
(
hres
==
S_OK
,
"Failed setting name %s: %08x
\n
"
,
...
...
dlls/mstask/tests/task_scheduler.c
View file @
4823b2c7
...
@@ -93,7 +93,7 @@ static void test_Activate(void)
...
@@ -93,7 +93,7 @@ static void test_Activate(void)
return
;
return
;
}
}
/* Attempt to
Activate a non-exista
nt task */
/* Attempt to
activate a nonexiste
nt task */
hres
=
ITaskScheduler_Activate
(
test_task_scheduler
,
not_task_name
,
hres
=
ITaskScheduler_Activate
(
test_task_scheduler
,
not_task_name
,
&
IID_ITask
,
(
IUnknown
**
)
&
task
);
&
IID_ITask
,
(
IUnknown
**
)
&
task
);
ok
(
hres
==
COR_E_FILENOTFOUND
,
"Expected COR_E_FILENOTFOUND: %08x
\n
"
,
hres
);
ok
(
hres
==
COR_E_FILENOTFOUND
,
"Expected COR_E_FILENOTFOUND: %08x
\n
"
,
hres
);
...
...
dlls/riched20/table.c
View file @
4823b2c7
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
* Richedit version 1.0 - 3.0:
* Richedit version 1.0 - 3.0:
* Tables are implemented in these versions using tabs at the end of cells,
* Tables are implemented in these versions using tabs at the end of cells,
* and tab stops to position the cells. The paragraph format flag PFE_TABLE
* and tab stops to position the cells. The paragraph format flag PFE_TABLE
* will indicate th
e
the paragraph is a table row. Note that in this
* will indicate th
at
the paragraph is a table row. Note that in this
* implementation there is one paragraph per table row.
* implementation there is one paragraph per table row.
*
*
* Richedit version 4.1:
* Richedit version 4.1:
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
* each with it's own paragraph format, and cells may even contain tables
* each with it's own paragraph format, and cells may even contain tables
* nested within the cell.
* nested within the cell.
*
*
* There
are
is also a paragraph at the start of each table row that contains
* There is also a paragraph at the start of each table row that contains
* the rows paragraph format (e.g. to change the row alignment to row), and a
* the rows paragraph format (e.g. to change the row alignment to row), and a
* paragraph at the end of the table row with the PFE_TABLEROWDELIMITER flag
* paragraph at the end of the table row with the PFE_TABLEROWDELIMITER flag
* set. The paragraphs at the start and end of the table row should always be
* set. The paragraphs at the start and end of the table row should always be
...
...
dlls/shdocvw/tests/intshcut.c
View file @
4823b2c7
...
@@ -171,7 +171,7 @@ static void test_NullURLs(void)
...
@@ -171,7 +171,7 @@ static void test_NullURLs(void)
hr
=
urlA
->
lpVtbl
->
GetURL
(
urlA
,
&
url
);
hr
=
urlA
->
lpVtbl
->
GetURL
(
urlA
,
&
url
);
ok
(
SUCCEEDED
(
hr
),
"getting uninitialized URL unexpectedly failed, hr=0x%x
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"getting uninitialized URL unexpectedly failed, hr=0x%x
\n
"
,
hr
);
ok
(
url
==
NULL
,
"unitialized URL is not NULL but %s
\n
"
,
url
);
ok
(
url
==
NULL
,
"uni
ni
tialized URL is not NULL but %s
\n
"
,
url
);
hr
=
urlA
->
lpVtbl
->
SetURL
(
urlA
,
NULL
,
0
);
hr
=
urlA
->
lpVtbl
->
SetURL
(
urlA
,
NULL
,
0
);
ok
(
SUCCEEDED
(
hr
),
"setting NULL URL unexpectedly failed, hr=0x%x
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"setting NULL URL unexpectedly failed, hr=0x%x
\n
"
,
hr
);
...
...
dlls/wined3d/directx.c
View file @
4823b2c7
...
@@ -3882,7 +3882,7 @@ static void fixup_extensions(WineD3D_GL_Info *gl_info) {
...
@@ -3882,7 +3882,7 @@ static void fixup_extensions(WineD3D_GL_Info *gl_info) {
* This usually means that ARB_tex_npot is supported in hardware as long as the application is staying
* This usually means that ARB_tex_npot is supported in hardware as long as the application is staying
* within the limits enforced by the ARB_texture_rectangle extension. This however is not true for the
* within the limits enforced by the ARB_texture_rectangle extension. This however is not true for the
* FX series, which instantly falls back to a slower software path as soon as ARB_tex_npot is used.
* FX series, which instantly falls back to a slower software path as soon as ARB_tex_npot is used.
* We therefore completly remove ARB_tex_npot from the list of supported extensions.
* We therefore complet
e
ly remove ARB_tex_npot from the list of supported extensions.
*
*
* Note that wine_normalized_texrect can't be used in this case because internally it uses ARB_tex_npot,
* Note that wine_normalized_texrect can't be used in this case because internally it uses ARB_tex_npot,
* triggering the software fallback. There is not much we can do here apart from disabling the
* triggering the software fallback. There is not much we can do here apart from disabling the
...
...
dlls/winhttp/tests/winhttp.c
View file @
4823b2c7
...
@@ -267,13 +267,15 @@ static void test_WinHttpAddHeaders(void)
...
@@ -267,13 +267,15 @@ static void test_WinHttpAddHeaders(void)
test_header_name
,
buffer
,
&
len
,
&
index
);
test_header_name
,
buffer
,
&
len
,
&
index
);
ok
(
ret
==
FALSE
,
"WinHttpQueryHeaders unexpectedly succeeded, second index should not exist.
\n
"
);
ok
(
ret
==
FALSE
,
"WinHttpQueryHeaders unexpectedly succeeded, second index should not exist.
\n
"
);
/* Try to fetch the header info with a buffer thats big enough to fit string but not NULL terminator. */
/* Try to fetch the header info with a buffer that's big enough to fit the
* string but not the NULL terminator.
*/
index
=
0
;
index
=
0
;
len
=
5
*
sizeof
(
WCHAR
);
len
=
5
*
sizeof
(
WCHAR
);
memcpy
(
buffer
,
check_buffer
,
sizeof
(
buffer
));
memcpy
(
buffer
,
check_buffer
,
sizeof
(
buffer
));
ret
=
WinHttpQueryHeaders
(
request
,
WINHTTP_QUERY_CUSTOM
|
WINHTTP_QUERY_FLAG_REQUEST_HEADERS
,
ret
=
WinHttpQueryHeaders
(
request
,
WINHTTP_QUERY_CUSTOM
|
WINHTTP_QUERY_FLAG_REQUEST_HEADERS
,
test_header_name
,
buffer
,
&
len
,
&
index
);
test_header_name
,
buffer
,
&
len
,
&
index
);
ok
(
ret
==
FALSE
,
"WinHttpQueryHeaders unexpectedly succeeded with a buffer thats too small.
\n
"
);
ok
(
ret
==
FALSE
,
"WinHttpQueryHeaders unexpectedly succeeded with a buffer that
'
s too small.
\n
"
);
ok
(
memcmp
(
buffer
,
check_buffer
,
sizeof
(
buffer
))
==
0
,
ok
(
memcmp
(
buffer
,
check_buffer
,
sizeof
(
buffer
))
==
0
,
"WinHttpQueryHeaders failed, modified the buffer when it should not have.
\n
"
);
"WinHttpQueryHeaders failed, modified the buffer when it should not have.
\n
"
);
ok
(
len
==
6
*
sizeof
(
WCHAR
),
"WinHttpQueryHeaders returned invalid length, expected 12, got %d
\n
"
,
len
);
ok
(
len
==
6
*
sizeof
(
WCHAR
),
"WinHttpQueryHeaders returned invalid length, expected 12, got %d
\n
"
,
len
);
...
@@ -289,7 +291,7 @@ static void test_WinHttpAddHeaders(void)
...
@@ -289,7 +291,7 @@ static void test_WinHttpAddHeaders(void)
ok
(
len
>
40
,
"WinHttpQueryHeaders returned invalid length: expected greater than 40, got %d
\n
"
,
len
);
ok
(
len
>
40
,
"WinHttpQueryHeaders returned invalid length: expected greater than 40, got %d
\n
"
,
len
);
ok
(
index
==
0
,
"WinHttpQueryHeaders incorrectly incremented header index.
\n
"
);
ok
(
index
==
0
,
"WinHttpQueryHeaders incorrectly incremented header index.
\n
"
);
/* Try with a NULL buffer and a length thats too small */
/* Try with a NULL buffer and a length that
'
s too small */
index
=
0
;
index
=
0
;
len
=
10
;
len
=
10
;
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
...
...
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