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
5266e579
Commit
5266e579
authored
Jul 31, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 31, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling fixes.
parent
4eebfa5d
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
28 additions
and
28 deletions
+28
-28
security.c
dlls/advapi32/tests/security.c
+1
-1
service.c
dlls/advapi32/tests/service.c
+7
-7
filedlg31.c
dlls/comdlg32/filedlg31.c
+1
-1
d3d.c
dlls/ddraw/tests/d3d.c
+1
-1
viewport.c
dlls/ddraw/viewport.c
+4
-4
font.c
dlls/gdi32/tests/font.c
+3
-3
path.c
dlls/kernel32/tests/path.c
+2
-2
access.c
dlls/netapi32/access.c
+1
-1
shlfileop.c
dlls/shell32/shlfileop.c
+4
-4
dsoutput.c
dlls/winealsa.drv/dsoutput.c
+1
-1
audio.c
dlls/winecoreaudio.drv/audio.c
+1
-1
drawprim.c
dlls/wined3d/drawprim.c
+2
-2
No files found.
dlls/advapi32/tests/security.c
View file @
5266e579
...
...
@@ -1860,7 +1860,7 @@ static void test_ConvertStringSecurityDescriptor(void)
SetLastError
(
0xdeadbeef
);
ret
=
pConvertStringSecurityDescriptorToSecurityDescriptorA
(
"D:(D;;GA;;;Non
exista
nt account)"
,
SDDL_REVISION_1
,
&
pSD
,
NULL
);
"D:(D;;GA;;;Non
existe
nt account)"
,
SDDL_REVISION_1
,
&
pSD
,
NULL
);
todo_wine
ok
(
!
ret
&&
GetLastError
()
==
ERROR_INVALID_ACL
,
"ConvertStringSecurityDescriptorToSecurityDescriptor should have failed with ERROR_INVALID_ACL instead of %d
\n
"
,
...
...
dlls/advapi32/tests/service.c
View file @
5266e579
...
...
@@ -111,7 +111,7 @@ static void test_open_svc(void)
GetLastError
()
==
ERROR_INVALID_PARAMETER
/* NT4 */
,
"Expected ERROR_INVALID_ADDRESS or ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
/* Non
-
existent service */
/* Nonexistent service */
scm_handle
=
OpenSCManagerA
(
NULL
,
NULL
,
SC_MANAGER_CONNECT
);
SetLastError
(
0xdeadbeef
);
svc_handle
=
OpenServiceA
(
scm_handle
,
"deadbeef"
,
GENERIC_READ
);
...
...
@@ -423,7 +423,7 @@ static void test_get_displayname(void)
GetLastError
()
==
ERROR_INVALID_PARAMETER
/* NT4 */
,
"Expected ERROR_INVALID_ADDRESS or ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
/* Test for non
-existing
service */
/* Test for non
existent
service */
SetLastError
(
0xdeadbeef
);
displaysize
=
-
1
;
ret
=
GetServiceDisplayNameA
(
scm_handle
,
deadbeef
,
NULL
,
&
displaysize
);
...
...
@@ -484,7 +484,7 @@ static void test_get_displayname(void)
GetLastError
()
==
0xdeadbeef
/* NT4, XP, Vista */
,
"Expected ERROR_SUCCESS, ERROR_IO_PENDING or 0xdeadbeef, got %d
\n
"
,
GetLastError
());
/* And with a bigger th
e
n needed buffer */
/* And with a bigger th
a
n needed buffer */
SetLastError
(
0xdeadbeef
);
displaysize
=
tempsize
*
2
;
ret
=
GetServiceDisplayNameA
(
scm_handle
,
spooler
,
displayname
,
&
displaysize
);
...
...
@@ -525,7 +525,7 @@ static void test_get_displayname(void)
ok
(
GetLastError
()
==
ERROR_INSUFFICIENT_BUFFER
,
"Expected ERROR_INSUFFICIENT_BUFFER, got %d
\n
"
,
GetLastError
());
/* And with a bigger th
e
n needed buffer */
/* And with a bigger th
a
n needed buffer */
SetLastError
(
0xdeadbeef
);
displaysize
=
tempsizeW
+
1
;
/* This caters for the null terminating character */
ret
=
GetServiceDisplayNameW
(
scm_handle
,
spoolerW
,
displaynameW
,
&
displaysize
);
...
...
@@ -643,7 +643,7 @@ static void test_get_servicekeyname(void)
GetLastError
()
==
ERROR_INVALID_PARAMETER
/* NT4 */
,
"Expected ERROR_INVALID_ADDRESS or ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
/* Test for non
-existing
displayname */
/* Test for non
existent
displayname */
SetLastError
(
0xdeadbeef
);
ret
=
GetServiceKeyNameA
(
scm_handle
,
deadbeef
,
NULL
,
&
servicesize
);
ok
(
!
ret
,
"Expected failure
\n
"
);
...
...
@@ -886,7 +886,7 @@ static void test_refcount(void)
ok
(
ret
,
"Expected success
\n
"
);
/* We cannot create the same service again as it's still marked as 'being deleted'.
* The reason is that we still have 4 open handles to this service eventhough we
* The reason is that we still have 4 open handles to this service even
though we
* closed the handle to the Service Control Manager in between.
*/
SetLastError
(
0xdeadbeef
);
...
...
@@ -917,7 +917,7 @@ static void test_refcount(void)
ret
=
CloseServiceHandle
(
svc_handle1
);
ok
(
ret
,
"Expected success
\n
"
);
/* Wait a while. Doing a CreateService to soon will result again
/* Wait a while. Doing a CreateService to
o
soon will result again
* in an ERROR_SERVICE_MARKED_FOR_DELETE error.
*/
Sleep
(
1000
);
...
...
dlls/comdlg32/filedlg31.c
View file @
5266e579
...
...
@@ -783,7 +783,7 @@ void FD31_DestroyPrivate(PFD31_DATA lfs)
/************************************************************************
* FD31_AllocPrivate [internal]
* allocate a private object to hold 32 bits Unicode
* structure that will be used through
t
out the calls, while
* structure that will be used throughout the calls, while
* keeping available the original structures and a few variables
* On entry : type = dialog procedure type (16,32A,32W)
* dlgType = dialog type (open or save)
...
...
dlls/ddraw/tests/d3d.c
View file @
5266e579
...
...
@@ -1044,7 +1044,7 @@ static void Direct3D1Test(void)
/* No scheme has been found behind those return values. It seems to be
* whatever data windows has when throwing the vertex away. Modify the
* input test vertices to test this more. Depending on the input data
* it can happen that the z coord gets written into y, or sim
m
ilar things
* it can happen that the z coord gets written into y, or similar things
*/
if
(
0
)
{
...
...
dlls/ddraw/viewport.c
View file @
5266e579
...
...
@@ -325,12 +325,12 @@ IDirect3DViewportImpl_SetViewport(IDirect3DViewport3 *iface,
*
* Transforms vertices by the transformation matrix.
*
* This function is pretty sim
m
ilar to IDirect3DVertexBuffer7::ProcessVertices,
* so it
s tempting to forward it to ProcessVertices
. However, there are some
* This function is pretty similar to IDirect3DVertexBuffer7::ProcessVertices,
* so it
's tempting to forward it to there
. However, there are some
* tiny differences. First, the lpOffscreen flag that is reported back,
* then there is the homogenous vertex that is generated. Also there's a lack
* of FVFs, but still a custom stride. Last, the d3d1 - d3d3 viewport has some
* settings(scale) that d3d7 and wined3d do not have. All in all wrapping to
* settings
(scale) that d3d7 and wined3d do not have. All in all wrapping to
* ProcessVertices doesn't pay of in terms of wrapper code needed and code
* reused.
*
...
...
@@ -431,7 +431,7 @@ IDirect3DViewportImpl_TransformVertices(IDirect3DViewport3 *iface,
/* Looks like native just drops the vertex, leaves whatever data
* it has in the output buffer and goes on with the next vertex.
* The exact scheme hasn't been figured out yet, but windows
* definitly writes something there.
* definit
e
ly writes something there.
*/
out
[
0
]
=
x
;
out
[
1
]
=
y
;
...
...
dlls/gdi32/tests/font.c
View file @
5266e579
...
...
@@ -1652,7 +1652,7 @@ static void test_GetTextMetrics(void)
ReleaseDC
(
0
,
hdc
);
}
static
void
test_non
_
existent_font
(
void
)
static
void
test_nonexistent_font
(
void
)
{
LOGFONTA
lf
;
HDC
hdc
;
...
...
@@ -1672,7 +1672,7 @@ static void test_non_existent_font(void)
lf
.
lfWeight
=
FW_REGULAR
;
lf
.
lfCharSet
=
ANSI_CHARSET
;
lf
.
lfPitchAndFamily
=
FF_SWISS
;
strcpy
(
lf
.
lfFaceName
,
"Non
existent font"
);
strcpy
(
lf
.
lfFaceName
,
"Nonexistent font"
);
hfont
=
CreateFontIndirectA
(
&
lf
);
hfont
=
SelectObject
(
hdc
,
hfont
);
...
...
@@ -1698,7 +1698,7 @@ START_TEST(font)
test_SetTextJustification
();
test_font_charset
();
test_GetFontUnicodeRanges
();
test_non
_
existent_font
();
test_nonexistent_font
();
/* On Windows Arial has a lot of default charset aliases such as Arial Cyr,
* I'd like to avoid them in this test.
...
...
dlls/kernel32/tests/path.c
View file @
5266e579
...
...
@@ -990,9 +990,9 @@ static void test_GetShortPathNameW(void)
/* End test */
CloseHandle
(
file
);
ret
=
DeleteFileW
(
short_path
);
ok
(
ret
,
"Can
not delete file.
\n
"
);
ok
(
ret
,
"Cannot delete file.
\n
"
);
ret
=
RemoveDirectoryW
(
path
);
ok
(
ret
,
"Can
not delete directory.
\n
"
);
ok
(
ret
,
"Cannot delete directory.
\n
"
);
}
static
void
test_GetSystemDirectory
(
void
)
...
...
dlls/netapi32/access.c
View file @
5266e579
...
...
@@ -131,7 +131,7 @@ NET_API_STATUS WINAPI NetUserAdd(LPCWSTR servername,
/* Fall through */
case
2
:
FIXME
(
"Level 2 not implemented.
\n
"
);
/* Fall through
t
*/
/* Fall through */
case
1
:
{
PUSER_INFO_1
ui
=
(
PUSER_INFO_1
)
bufptr
;
...
...
dlls/shell32/shlfileop.c
View file @
5266e579
...
...
@@ -1577,7 +1577,7 @@ void WINAPI SHFreeNameMappings(HANDLE hNameMapping)
* drive = 0: returns the current directory path
* drive > 0: returns the current directory path of the specified drive
* drive=1 -> A: drive=2 -> B: ...
* returns 0 if successful
l
* returns 0 if successful
*/
DWORD
WINAPI
SheGetDirA
(
DWORD
drive
,
LPSTR
buffer
)
{
...
...
@@ -1614,7 +1614,7 @@ DWORD WINAPI SheGetDirA(DWORD drive, LPSTR buffer)
* drive = 0: returns the current directory path
* drive > 0: returns the current directory path of the specified drive
* drive=1 -> A: drive=2 -> B: ...
* returns 0 if successful
l
* returns 0 if successful
*/
DWORD
WINAPI
SheGetDirW
(
DWORD
drive
,
LPWSTR
buffer
)
{
...
...
@@ -1649,7 +1649,7 @@ DWORD WINAPI SheGetDirW(DWORD drive, LPWSTR buffer)
* SheChangeDirA [SHELL32.@]
*
* changes the current directory to the specified path
* and returns 0 if successful
l
* and returns 0 if successful
*/
DWORD
WINAPI
SheChangeDirA
(
LPSTR
path
)
{
...
...
@@ -1663,7 +1663,7 @@ DWORD WINAPI SheChangeDirA(LPSTR path)
* SheChangeDirW [SHELL32.@]
*
* changes the current directory to the specified path
* and returns 0 if successful
l
* and returns 0 if successful
*/
DWORD
WINAPI
SheChangeDirW
(
LPWSTR
path
)
{
...
...
dlls/winealsa.drv/dsoutput.c
View file @
5266e579
...
...
@@ -452,7 +452,7 @@ static HRESULT SetFormat(IDsDriverBufferImpl *This, LPWAVEFORMATEX pwfx, BOOL fo
err
=
snd_pcm_hw_params_get_period_size
(
hw_params
,
&
psize
,
NULL
);
TRACE
(
"Period size is: %lu
\n
"
,
psize
);
/* ALSA needs at least 3 buffers to work succesfully */
/* ALSA needs at least 3 buffers to work succes
s
fully */
This
->
mmap_commitahead
=
3
*
psize
;
while
(
This
->
mmap_commitahead
<=
512
)
This
->
mmap_commitahead
+=
psize
;
...
...
dlls/winecoreaudio.drv/audio.c
View file @
5266e579
...
...
@@ -1876,7 +1876,7 @@ static DWORD widOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
}
/* Keep a copy of the buffer list structure (but not the buffers themselves)
* in case AudioUnitRender clobbers the original, as it
is won
t to do. */
* in case AudioUnitRender clobbers the original, as it
won'
t to do. */
wwi
->
bufferListCopy
=
HeapAlloc
(
GetProcessHeap
(),
0
,
AUDIOBUFFERLISTSIZE
(
wwi
->
bufferList
->
mNumberBuffers
));
if
(
wwi
->
bufferListCopy
==
NULL
)
{
...
...
dlls/wined3d/drawprim.c
View file @
5266e579
...
...
@@ -1245,8 +1245,8 @@ HRESULT tesselate_rectpatch(IWineD3DDeviceImpl *This,
ENTER_GL
();
/* Simply activate the context for blitting. This disables all the things we don't want and
* takes care
for dirtifying. Dirtifying is prefe
red over pushing / popping, since drawing the
* patch(as opposed to normal draws) will most likely need different changes anyway
* takes care
of dirtifying. Dirtifying is prefer
red over pushing / popping, since drawing the
* patch
(as opposed to normal draws) will most likely need different changes anyway
*/
ActivateContext
(
This
,
This
->
lastActiveRenderTarget
,
CTXUSAGE_BLIT
);
...
...
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