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
7649c75b
Commit
7649c75b
authored
Jun 24, 2010
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted typo and spelling fixes.
parent
e5a19a51
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
20 additions
and
20 deletions
+20
-20
asm.c
dlls/d3dx9_36/tests/asm.c
+3
-3
cpu_x86_64.c
dlls/dbghelp/cpu_x86_64.c
+1
-1
ddraw.c
dlls/ddraw/ddraw.c
+1
-1
audio.c
dlls/mmdevapi/audio.c
+1
-1
audiovolume.c
dlls/mmdevapi/audiovolume.c
+1
-1
capture.c
dlls/mmdevapi/tests/capture.c
+2
-2
misc.c
dlls/msvcrt/tests/misc.c
+1
-1
olepicture.c
dlls/oleaut32/tests/olepicture.c
+2
-2
setupx_main.c
dlls/setupx.dll16/setupx_main.c
+1
-1
shellpath.c
dlls/shell32/tests/shellpath.c
+1
-1
uri.c
dlls/urlmon/tests/uri.c
+1
-1
bidi.c
dlls/usp10/bidi.c
+1
-1
surface.c
dlls/wined3d/surface.c
+1
-1
joystick.c
dlls/winejoystick.drv/joystick.c
+2
-2
xim.c
dlls/winex11.drv/xim.c
+1
-1
No files found.
dlls/d3dx9_36/tests/asm.c
View file @
7649c75b
...
@@ -1362,13 +1362,13 @@ static void failure_test(void) {
...
@@ -1362,13 +1362,13 @@ static void failure_test(void) {
/* shader 42: no modifiers with vs dcl sampler instruction */
/* shader 42: no modifiers with vs dcl sampler instruction */
"vs_3_0
\n
"
"vs_3_0
\n
"
"dcl_2d_pp s0
\n
"
,
"dcl_2d_pp s0
\n
"
,
/* shader 43: can't explicit
e
ly declare input registers in ps_2_0 */
/* shader 43: can't explicitly declare input registers in ps_2_0 */
"ps_2_0
\n
"
"ps_2_0
\n
"
"dcl_texcoord0 t0
\n
"
,
"dcl_texcoord0 t0
\n
"
,
/* shader 44: can't implicit
e
ly declare registers in vs */
/* shader 44: can't implicitly declare registers in vs */
"vs_2_0
\n
"
"vs_2_0
\n
"
"dcl o0
\n
"
,
"dcl o0
\n
"
,
/* shader 45: can't implicit
e
ly declare samplers in vs */
/* shader 45: can't implicitly declare samplers in vs */
"vs_3_0
\n
"
"vs_3_0
\n
"
"dcl s2
\n
"
,
"dcl s2
\n
"
,
/* shader 46: no tx registers in ps_3_0 */
/* shader 46: no tx registers in ps_3_0 */
...
...
dlls/dbghelp/cpu_x86_64.c
View file @
7649c75b
...
@@ -238,7 +238,7 @@ static void dump_unwind_info(HANDLE hProcess, ULONG64 base, RUNTIME_FUNCTION *fu
...
@@ -238,7 +238,7 @@ static void dump_unwind_info(HANDLE hProcess, ULONG64 base, RUNTIME_FUNCTION *fu
}
}
}
}
/* highly deriv
ated from dlls/ntdlls
/signal_x86_64.c */
/* highly deriv
ed from dlls/ntdll
/signal_x86_64.c */
static
ULONG64
get_int_reg
(
CONTEXT
*
context
,
int
reg
)
static
ULONG64
get_int_reg
(
CONTEXT
*
context
,
int
reg
)
{
{
return
*
(
&
context
->
Rax
+
reg
);
return
*
(
&
context
->
Rax
+
reg
);
...
...
dlls/ddraw/ddraw.c
View file @
7649c75b
...
@@ -345,7 +345,7 @@ IDirectDrawImpl_Release(IDirectDraw7 *iface)
...
@@ -345,7 +345,7 @@ IDirectDrawImpl_Release(IDirectDraw7 *iface)
* DDSCL_SETDEVICEWINDOW: Sets a window specially used for rendering (I don't
* DDSCL_SETDEVICEWINDOW: Sets a window specially used for rendering (I don't
* expect any difference to a normal window for wine)
* expect any difference to a normal window for wine)
* DDSCL_CREATEDEVICEWINDOW: Tells ddraw to create its own window for
* DDSCL_CREATEDEVICEWINDOW: Tells ddraw to create its own window for
* rendering (Possible test case: Half-
l
ife)
* rendering (Possible test case: Half-
L
ife)
*
*
* Unsure about these: DDSCL_FPUSETUP DDSCL_FPURESERVE
* Unsure about these: DDSCL_FPUSETUP DDSCL_FPURESERVE
*
*
...
...
dlls/mmdevapi/audio.c
View file @
7649c75b
/*
/*
* Copyright 2010 Maarten Lankhorst for Code
w
eavers
* Copyright 2010 Maarten Lankhorst for Code
W
eavers
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
...
dlls/mmdevapi/audiovolume.c
View file @
7649c75b
/*
/*
* Copyright 2010 Maarten Lankhorst for Code
w
eavers
* Copyright 2010 Maarten Lankhorst for Code
W
eavers
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
...
dlls/mmdevapi/tests/capture.c
View file @
7649c75b
/*
/*
* Copyright 2010 Maarten Lankhorst for Code
w
eavers
* Copyright 2010 Maarten Lankhorst for Code
W
eavers
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
@@ -244,7 +244,7 @@ static void test_audioclient(IAudioClient *ac)
...
@@ -244,7 +244,7 @@ static void test_audioclient(IAudioClient *ac)
ok
(
hr
==
E_INVALIDARG
,
"Initialize with invalid flags returns %08x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
,
"Initialize with invalid flags returns %08x
\n
"
,
hr
);
/* It seems that if length > 2s or periodicity != 0 the length is ignored and call succeeds
/* It seems that if length > 2s or periodicity != 0 the length is ignored and call succeeds
* Since we can only initialize succesfully once skip those tests
* Since we can only initialize succes
s
fully once skip those tests
*/
*/
hr
=
IAudioClient_Initialize
(
ac
,
AUDCLNT_SHAREMODE_SHARED
,
0
,
5000000
,
0
,
NULL
,
NULL
);
hr
=
IAudioClient_Initialize
(
ac
,
AUDCLNT_SHAREMODE_SHARED
,
0
,
5000000
,
0
,
NULL
,
NULL
);
ok
(
hr
==
E_POINTER
,
"Initialize with null format returns %08x
\n
"
,
hr
);
ok
(
hr
==
E_POINTER
,
"Initialize with null format returns %08x
\n
"
,
hr
);
...
...
dlls/msvcrt/tests/misc.c
View file @
7649c75b
...
@@ -96,7 +96,7 @@ static void test_memcpy_s(void)
...
@@ -96,7 +96,7 @@ static void test_memcpy_s(void)
ret
=
pmemcpy_s
(
data
,
10
,
data
,
10
);
ret
=
pmemcpy_s
(
data
,
10
,
data
,
10
);
ok
(
ret
==
0
,
"ret = %x
\n
"
,
ret
);
ok
(
ret
==
0
,
"ret = %x
\n
"
,
ret
);
ok
(
errno
==
0xdeadbeef
,
"errno = %x
\n
"
,
errno
);
ok
(
errno
==
0xdeadbeef
,
"errno = %x
\n
"
,
errno
);
ok
(
!
memcmp
(
dest
,
data
,
5
),
"data was destroyed during overwrit
t
ing
\n
"
);
ok
(
!
memcmp
(
dest
,
data
,
5
),
"data was destroyed during overwriting
\n
"
);
errno
=
0xdeadbeef
;
errno
=
0xdeadbeef
;
dest
[
0
]
=
'x'
;
dest
[
0
]
=
'x'
;
...
...
dlls/oleaut32/tests/olepicture.c
View file @
7649c75b
...
@@ -829,7 +829,7 @@ static void test_OleLoadPicturePath(void)
...
@@ -829,7 +829,7 @@ static void test_OleLoadPicturePath(void)
DeleteFileA
(
temp_file
);
DeleteFileA
(
temp_file
);
/* Try with a non
-
existent file. */
/* Try with a nonexistent file. */
hres
=
OleLoadPicturePath
(
temp_fileW
+
8
,
NULL
,
0
,
0
,
&
IID_IPicture
,
(
void
**
)
&
pic
);
hres
=
OleLoadPicturePath
(
temp_fileW
+
8
,
NULL
,
0
,
0
,
&
IID_IPicture
,
(
void
**
)
&
pic
);
ok
(
hres
==
INET_E_RESOURCE_NOT_FOUND
||
/* XP+ */
ok
(
hres
==
INET_E_RESOURCE_NOT_FOUND
||
/* XP+ */
hres
==
E_UNEXPECTED
||
/* NT4/Win95 */
hres
==
E_UNEXPECTED
||
/* NT4/Win95 */
...
@@ -865,7 +865,7 @@ static void test_OleLoadPicturePath(void)
...
@@ -865,7 +865,7 @@ static void test_OleLoadPicturePath(void)
DeleteFileA
(
temp_file
);
DeleteFileA
(
temp_file
);
/* Try with a non
-
existent file. */
/* Try with a nonexistent file. */
hres
=
OleLoadPicturePath
(
temp_fileW
,
NULL
,
0
,
0
,
&
IID_IPicture
,
(
void
**
)
&
pic
);
hres
=
OleLoadPicturePath
(
temp_fileW
,
NULL
,
0
,
0
,
&
IID_IPicture
,
(
void
**
)
&
pic
);
ok
(
hres
==
INET_E_RESOURCE_NOT_FOUND
||
/* XP+ */
ok
(
hres
==
INET_E_RESOURCE_NOT_FOUND
||
/* XP+ */
hres
==
E_UNEXPECTED
||
/* NT4/Win95 */
hres
==
E_UNEXPECTED
||
/* NT4/Win95 */
...
...
dlls/setupx.dll16/setupx_main.c
View file @
7649c75b
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
* Stuff tested with:
* Stuff tested with:
* - rs405deu.exe (German Acroread 4.05 setup)
* - rs405deu.exe (German Acroread 4.05 setup)
* - ie5setup.exe
* - ie5setup.exe
* - Net
m
eeting
* - Net
M
eeting
*
*
* FIXME:
* FIXME:
* - string handling is... weird ;) (buflen etc.)
* - string handling is... weird ;) (buflen etc.)
...
...
dlls/shell32/tests/shellpath.c
View file @
7649c75b
...
@@ -727,7 +727,7 @@ static void doChild(const char *arg)
...
@@ -727,7 +727,7 @@ static void doChild(const char *arg)
trace
(
"CSIDL_FAVORITES was changed to %s
\n
"
,
path
);
trace
(
"CSIDL_FAVORITES was changed to %s
\n
"
,
path
);
ret
=
CreateDirectoryA
(
path
,
NULL
);
ret
=
CreateDirectoryA
(
path
,
NULL
);
ok
(
!
ret
,
"expected failure with
with
ERROR_ALREADY_EXISTS
\n
"
);
ok
(
!
ret
,
"expected failure with ERROR_ALREADY_EXISTS
\n
"
);
if
(
!
ret
)
if
(
!
ret
)
ok
(
GetLastError
()
==
ERROR_ALREADY_EXISTS
,
ok
(
GetLastError
()
==
ERROR_ALREADY_EXISTS
,
"got %d, expected ERROR_ALREADY_EXISTS
\n
"
,
GetLastError
());
"got %d, expected ERROR_ALREADY_EXISTS
\n
"
,
GetLastError
());
...
...
dlls/urlmon/tests/uri.c
View file @
7649c75b
...
@@ -1254,7 +1254,7 @@ static void test_IUri_GetPropertyLength(void) {
...
@@ -1254,7 +1254,7 @@ static void test_IUri_GetPropertyLength(void) {
expectedLen
=
lstrlen
(
prop
.
value
);
expectedLen
=
lstrlen
(
prop
.
value
);
/* This won't be nec
c
essary once GetPropertyLength is implemented. */
/* This won't be necessary once GetPropertyLength is implemented. */
receivedLen
=
-
1
;
receivedLen
=
-
1
;
hr
=
IUri_GetPropertyLength
(
uri
,
j
,
&
receivedLen
,
0
);
hr
=
IUri_GetPropertyLength
(
uri
,
j
,
&
receivedLen
,
0
);
...
...
dlls/usp10/bidi.c
View file @
7649c75b
...
@@ -851,7 +851,7 @@ int BIDI_ReorderV2lLevel(int level, int *pIndexs, const BYTE* plevel, int cch, B
...
@@ -851,7 +851,7 @@ int BIDI_ReorderV2lLevel(int level, int *pIndexs, const BYTE* plevel, int cch, B
return
ich
;
return
ich
;
}
}
/* Applies the reorder in reverse. Taking an already reordered string and returing the original */
/* Applies the reorder in reverse. Taking an already reordered string and retur
n
ing the original */
int
BIDI_ReorderL2vLevel
(
int
level
,
int
*
pIndexs
,
const
BYTE
*
plevel
,
int
cch
,
BOOL
fReverse
)
int
BIDI_ReorderL2vLevel
(
int
level
,
int
*
pIndexs
,
const
BYTE
*
plevel
,
int
cch
,
BOOL
fReverse
)
{
{
int
ich
=
0
;
int
ich
=
0
;
...
...
dlls/wined3d/surface.c
View file @
7649c75b
...
@@ -3276,7 +3276,7 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *dst_surface,
...
@@ -3276,7 +3276,7 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *dst_surface,
&&
dst_surface
==
dstSwapchain
->
front_buffer
&&
dst_surface
==
dstSwapchain
->
front_buffer
&&
src_surface
==
dstSwapchain
->
back_buffers
[
0
])
&&
src_surface
==
dstSwapchain
->
back_buffers
[
0
])
{
{
/* Half-
l
ife does a Blt from the back buffer to the front buffer,
/* Half-
L
ife does a Blt from the back buffer to the front buffer,
* Full surface size, no flags... Use present instead
* Full surface size, no flags... Use present instead
*
*
* This path will only be entered for d3d7 and ddraw apps, because d3d8/9 offer no way to blit TO the front buffer
* This path will only be entered for d3d7 and ddraw apps, because d3d8/9 offer no way to blit TO the front buffer
...
...
dlls/winejoystick.drv/joystick.c
View file @
7649c75b
...
@@ -230,10 +230,10 @@ static const WCHAR ini[] = {'W','i','n','e',' ','J','o','y','s','t','i','c','k',
...
@@ -230,10 +230,10 @@ static const WCHAR ini[] = {'W','i','n','e',' ','J','o','y','s','t','i','c','k',
lpCaps
->
wZmin
=
0
;
lpCaps
->
wZmin
=
0
;
lpCaps
->
wZmax
=
(
nrOfAxes
>=
3
)
?
0xFFFF
:
0
;
lpCaps
->
wZmax
=
(
nrOfAxes
>=
3
)
?
0xFFFF
:
0
;
#ifdef BODGE_THE_HAT
#ifdef BODGE_THE_HAT
/* HalfLife won't allow you to map an axis event to things like
/* Half
-
Life won't allow you to map an axis event to things like
"next weapon" and "use". Linux reports the hat on my stick as
"next weapon" and "use". Linux reports the hat on my stick as
axis U and V. So, IFF BODGE_THE_HAT is defined, lie through our
axis U and V. So, IFF BODGE_THE_HAT is defined, lie through our
teeth and say we have 32 buttons, and we will map the ax
is
es to
teeth and say we have 32 buttons, and we will map the axes to
the high buttons. Really, perhaps this should be a registry entry,
the high buttons. Really, perhaps this should be a registry entry,
or even a parameter to the Linux joystick driver (which would completely
or even a parameter to the Linux joystick driver (which would completely
remove the need for this.)
remove the need for this.)
...
...
dlls/winex11.drv/xim.c
View file @
7649c75b
...
@@ -51,7 +51,7 @@ static DWORD dwCompStringSize = 0;
...
@@ -51,7 +51,7 @@ static DWORD dwCompStringSize = 0;
#define STYLE_ROOT (XIMPreeditNothing | XIMStatusNothing)
#define STYLE_ROOT (XIMPreeditNothing | XIMStatusNothing)
/* this uses all the callbacks to utilize full IME support */
/* this uses all the callbacks to utilize full IME support */
#define STYLE_CALLBACK (XIMPreeditCallbacks | XIMStatusNothing)
#define STYLE_CALLBACK (XIMPreeditCallbacks | XIMStatusNothing)
/* inorder to enable deadkey support */
/* in
order to enable deadkey support */
#define STYLE_NONE (XIMPreeditNothing | XIMStatusNothing)
#define STYLE_NONE (XIMPreeditNothing | XIMStatusNothing)
static
XIMStyle
ximStyle
=
0
;
static
XIMStyle
ximStyle
=
0
;
...
...
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