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
9eb81363
Commit
9eb81363
authored
Jun 15, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add trailing '\n's to ok() calls.
Remove spaces before '\n'.
parent
11ae0f63
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
stateblock.c
dlls/d3d9/tests/stateblock.c
+1
-1
editor.c
dlls/riched20/tests/editor.c
+1
-1
system.c
dlls/uxtheme/tests/system.c
+1
-1
device.c
dlls/wined3d/device.c
+3
-3
cmdlgtst.c
programs/cmdlgtst/cmdlgtst.c
+6
-6
No files found.
dlls/d3d9/tests/stateblock.c
View file @
9eb81363
...
@@ -154,7 +154,7 @@ static void test_missing_light_recording(IDirect3DDevice9 *device_ptr)
...
@@ -154,7 +154,7 @@ static void test_missing_light_recording(IDirect3DDevice9 *device_ptr)
hret
=
IDirect3DDevice9_GetLightEnable
(
device_ptr
,
0
,
&
result_light_enable
);
hret
=
IDirect3DDevice9_GetLightEnable
(
device_ptr
,
0
,
&
result_light_enable
);
ok
(
hret
==
D3D_OK
,
"GetLightEnable returned: hret 0x%lx. Expected hret 0x%lx. Aborting.
\n
"
,
hret
,
D3D_OK
);
ok
(
hret
==
D3D_OK
,
"GetLightEnable returned: hret 0x%lx. Expected hret 0x%lx. Aborting.
\n
"
,
hret
,
D3D_OK
);
if
(
hret
!=
D3D_OK
)
goto
cleanup
;
if
(
hret
!=
D3D_OK
)
goto
cleanup
;
ok
(
result_light_enable
==
0
,
"Light enabled status was %u, instead of 0"
,
result_light_enable
);
ok
(
result_light_enable
==
0
,
"Light enabled status was %u, instead of 0
\n
"
,
result_light_enable
);
hret
=
IDirect3DDevice9_GetLight
(
device_ptr
,
0
,
&
result_light
);
hret
=
IDirect3DDevice9_GetLight
(
device_ptr
,
0
,
&
result_light
);
ok
(
hret
==
D3D_OK
,
"GetLight returned: hret 0x%lx. Expected hret 0x%lx. Aborting.
\n
"
,
hret
,
D3D_OK
);
ok
(
hret
==
D3D_OK
,
"GetLight returned: hret 0x%lx. Expected hret 0x%lx. Aborting.
\n
"
,
hret
,
D3D_OK
);
...
...
dlls/riched20/tests/editor.c
View file @
9eb81363
...
@@ -806,7 +806,7 @@ static void test_EM_SETUNDOLIMIT()
...
@@ -806,7 +806,7 @@ static void test_EM_SETUNDOLIMIT()
SendMessage
(
hwndRichEdit
,
EM_EMPTYUNDOBUFFER
,
0
,
0
);
SendMessage
(
hwndRichEdit
,
EM_EMPTYUNDOBUFFER
,
0
,
0
);
result
=
SendMessage
(
hwndRichEdit
,
EM_SETUNDOLIMIT
,
-
1
,
0
);
result
=
SendMessage
(
hwndRichEdit
,
EM_SETUNDOLIMIT
,
-
1
,
0
);
ok
(
result
==
100
,
ok
(
result
==
100
,
"EM_SETUNDOLIMIT returned %d when set to -1, instead of 100"
,
result
);
"EM_SETUNDOLIMIT returned %d when set to -1, instead of 100
\n
"
,
result
);
DestroyWindow
(
hwndRichEdit
);
DestroyWindow
(
hwndRichEdit
);
}
}
...
...
dlls/uxtheme/tests/system.c
View file @
9eb81363
...
@@ -189,7 +189,7 @@ static void test_CloseThemeData(void)
...
@@ -189,7 +189,7 @@ static void test_CloseThemeData(void)
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
hRes
=
pCloseThemeData
(
NULL
);
hRes
=
pCloseThemeData
(
NULL
);
ok
(
hRes
==
E_HANDLE
,
"Expected E_HANDLE, got 0x%08lx"
,
hRes
);
ok
(
hRes
==
E_HANDLE
,
"Expected E_HANDLE, got 0x%08lx
\n
"
,
hRes
);
ok
(
GetLastError
()
==
0xdeadbeef
,
ok
(
GetLastError
()
==
0xdeadbeef
,
"Expected 0xdeadbeef, got 0x%08lx
\n
"
,
"Expected 0xdeadbeef, got 0x%08lx
\n
"
,
GetLastError
());
GetLastError
());
...
...
dlls/wined3d/device.c
View file @
9eb81363
...
@@ -4906,19 +4906,19 @@ process_vertices_strided(IWineD3DDeviceImpl *This, DWORD dwDestIndex, DWORD dwCo
...
@@ -4906,19 +4906,19 @@ process_vertices_strided(IWineD3DDeviceImpl *This, DWORD dwDestIndex, DWORD dwCo
D3DTS_WORLDMATRIX
(
0
),
D3DTS_WORLDMATRIX
(
0
),
&
world_mat
);
&
world_mat
);
TRACE
(
"View mat:
\n
"
);
TRACE
(
"View mat:
\n
"
);
TRACE
(
"%f %f %f %f
\n
"
,
view_mat
.
u
.
s
.
_11
,
view_mat
.
u
.
s
.
_12
,
view_mat
.
u
.
s
.
_13
,
view_mat
.
u
.
s
.
_14
);
\
TRACE
(
"%f %f %f %f
\n
"
,
view_mat
.
u
.
s
.
_11
,
view_mat
.
u
.
s
.
_12
,
view_mat
.
u
.
s
.
_13
,
view_mat
.
u
.
s
.
_14
);
\
TRACE
(
"%f %f %f %f
\n
"
,
view_mat
.
u
.
s
.
_21
,
view_mat
.
u
.
s
.
_22
,
view_mat
.
u
.
s
.
_23
,
view_mat
.
u
.
s
.
_24
);
\
TRACE
(
"%f %f %f %f
\n
"
,
view_mat
.
u
.
s
.
_21
,
view_mat
.
u
.
s
.
_22
,
view_mat
.
u
.
s
.
_23
,
view_mat
.
u
.
s
.
_24
);
\
TRACE
(
"%f %f %f %f
\n
"
,
view_mat
.
u
.
s
.
_31
,
view_mat
.
u
.
s
.
_32
,
view_mat
.
u
.
s
.
_33
,
view_mat
.
u
.
s
.
_34
);
\
TRACE
(
"%f %f %f %f
\n
"
,
view_mat
.
u
.
s
.
_31
,
view_mat
.
u
.
s
.
_32
,
view_mat
.
u
.
s
.
_33
,
view_mat
.
u
.
s
.
_34
);
\
TRACE
(
"%f %f %f %f
\n
"
,
view_mat
.
u
.
s
.
_41
,
view_mat
.
u
.
s
.
_42
,
view_mat
.
u
.
s
.
_43
,
view_mat
.
u
.
s
.
_44
);
\
TRACE
(
"%f %f %f %f
\n
"
,
view_mat
.
u
.
s
.
_41
,
view_mat
.
u
.
s
.
_42
,
view_mat
.
u
.
s
.
_43
,
view_mat
.
u
.
s
.
_44
);
\
TRACE
(
"Proj mat:
\n
"
);
TRACE
(
"Proj mat:
\n
"
);
TRACE
(
"%f %f %f %f
\n
"
,
proj_mat
.
u
.
s
.
_11
,
proj_mat
.
u
.
s
.
_12
,
proj_mat
.
u
.
s
.
_13
,
proj_mat
.
u
.
s
.
_14
);
\
TRACE
(
"%f %f %f %f
\n
"
,
proj_mat
.
u
.
s
.
_11
,
proj_mat
.
u
.
s
.
_12
,
proj_mat
.
u
.
s
.
_13
,
proj_mat
.
u
.
s
.
_14
);
\
TRACE
(
"%f %f %f %f
\n
"
,
proj_mat
.
u
.
s
.
_21
,
proj_mat
.
u
.
s
.
_22
,
proj_mat
.
u
.
s
.
_23
,
proj_mat
.
u
.
s
.
_24
);
\
TRACE
(
"%f %f %f %f
\n
"
,
proj_mat
.
u
.
s
.
_21
,
proj_mat
.
u
.
s
.
_22
,
proj_mat
.
u
.
s
.
_23
,
proj_mat
.
u
.
s
.
_24
);
\
TRACE
(
"%f %f %f %f
\n
"
,
proj_mat
.
u
.
s
.
_31
,
proj_mat
.
u
.
s
.
_32
,
proj_mat
.
u
.
s
.
_33
,
proj_mat
.
u
.
s
.
_34
);
\
TRACE
(
"%f %f %f %f
\n
"
,
proj_mat
.
u
.
s
.
_31
,
proj_mat
.
u
.
s
.
_32
,
proj_mat
.
u
.
s
.
_33
,
proj_mat
.
u
.
s
.
_34
);
\
TRACE
(
"%f %f %f %f
\n
"
,
proj_mat
.
u
.
s
.
_41
,
proj_mat
.
u
.
s
.
_42
,
proj_mat
.
u
.
s
.
_43
,
proj_mat
.
u
.
s
.
_44
);
\
TRACE
(
"%f %f %f %f
\n
"
,
proj_mat
.
u
.
s
.
_41
,
proj_mat
.
u
.
s
.
_42
,
proj_mat
.
u
.
s
.
_43
,
proj_mat
.
u
.
s
.
_44
);
\
TRACE
(
"World mat:
\n
"
);
TRACE
(
"World mat:
\n
"
);
TRACE
(
"%f %f %f %f
\n
"
,
world_mat
.
u
.
s
.
_11
,
world_mat
.
u
.
s
.
_12
,
world_mat
.
u
.
s
.
_13
,
world_mat
.
u
.
s
.
_14
);
\
TRACE
(
"%f %f %f %f
\n
"
,
world_mat
.
u
.
s
.
_11
,
world_mat
.
u
.
s
.
_12
,
world_mat
.
u
.
s
.
_13
,
world_mat
.
u
.
s
.
_14
);
\
TRACE
(
"%f %f %f %f
\n
"
,
world_mat
.
u
.
s
.
_21
,
world_mat
.
u
.
s
.
_22
,
world_mat
.
u
.
s
.
_23
,
world_mat
.
u
.
s
.
_24
);
\
TRACE
(
"%f %f %f %f
\n
"
,
world_mat
.
u
.
s
.
_21
,
world_mat
.
u
.
s
.
_22
,
world_mat
.
u
.
s
.
_23
,
world_mat
.
u
.
s
.
_24
);
\
TRACE
(
"%f %f %f %f
\n
"
,
world_mat
.
u
.
s
.
_31
,
world_mat
.
u
.
s
.
_32
,
world_mat
.
u
.
s
.
_33
,
world_mat
.
u
.
s
.
_34
);
\
TRACE
(
"%f %f %f %f
\n
"
,
world_mat
.
u
.
s
.
_31
,
world_mat
.
u
.
s
.
_32
,
world_mat
.
u
.
s
.
_33
,
world_mat
.
u
.
s
.
_34
);
\
...
...
programs/cmdlgtst/cmdlgtst.c
View file @
9eb81363
...
@@ -469,7 +469,7 @@ static void mw_PrintSetup(HWND hWnd)
...
@@ -469,7 +469,7 @@ static void mw_PrintSetup(HWND hWnd)
#define OF(fn, fi, fl) \
#define OF(fn, fi, fl) \
if(dm->dmFields & fl){ \
if(dm->dmFields & fl){ \
WINE_TRACE(" %s =%hd
\n", (fn), dm->fi); \
WINE_TRACE(" %s =%hd\n", (fn), dm->fi); \
} else \
} else \
WINE_TRACE(" %s NOT SET!\n", fn);
WINE_TRACE(" %s NOT SET!\n", fn);
...
@@ -488,11 +488,11 @@ static void mw_PageSetup(HWND hWnd)
...
@@ -488,11 +488,11 @@ static void mw_PageSetup(HWND hWnd)
dm
=
GlobalLock
(
psd
.
hDevMode
);
dm
=
GlobalLock
(
psd
.
hDevMode
);
if
(
dm
)
{
if
(
dm
)
{
WINE_TRACE
(
"dm != NULL
\n
DEVMODEA struct:
\n
"
);
WINE_TRACE
(
"dm != NULL
\n
DEVMODEA struct:
\n
"
);
WINE_TRACE
(
" dmDeviceName ='%s'
\n
"
,
dm
->
dmDeviceName
);
WINE_TRACE
(
" dmDeviceName ='%s'
\n
"
,
dm
->
dmDeviceName
);
WINE_TRACE
(
" dmSpecVersion =%#x
\n
"
,
dm
->
dmSpecVersion
);
WINE_TRACE
(
" dmSpecVersion =%#x
\n
"
,
dm
->
dmSpecVersion
);
WINE_TRACE
(
" dmDriverVersion =%#x
\n
"
,
dm
->
dmDriverVersion
);
WINE_TRACE
(
" dmDriverVersion =%#x
\n
"
,
dm
->
dmDriverVersion
);
WINE_TRACE
(
" dmSize =%#x
\n
"
,
dm
->
dmSize
);
WINE_TRACE
(
" dmSize =%#x
\n
"
,
dm
->
dmSize
);
WINE_TRACE
(
" dmDriverExtra =%#x
\n
"
,
dm
->
dmDriverExtra
);
WINE_TRACE
(
" dmDriverExtra =%#x
\n
"
,
dm
->
dmDriverExtra
);
WINE_TRACE
(
" dmFields =%#lx
\n
"
,
dm
->
dmFields
);
WINE_TRACE
(
" dmFields =%#lx
\n
"
,
dm
->
dmFields
);
OF
(
"dmOrientation"
,
u1
.
s1
.
dmOrientation
,
DM_ORIENTATION
)
OF
(
"dmOrientation"
,
u1
.
s1
.
dmOrientation
,
DM_ORIENTATION
)
OF
(
"dmPaperSize"
,
u1
.
s1
.
dmPaperSize
,
DM_PAPERSIZE
);
OF
(
"dmPaperSize"
,
u1
.
s1
.
dmPaperSize
,
DM_PAPERSIZE
);
...
...
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