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
c7e00c9f
Commit
c7e00c9f
authored
Dec 27, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
janitorial: In multiline strings there is no need for '\' at the end of the lines.
parent
43c94c95
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
printdlg.c
dlls/comdlg32/tests/printdlg.c
+3
-3
ddraw.c
dlls/ddraw/ddraw.c
+1
-1
except.c
dlls/msvcrt/except.c
+1
-1
apibuf.c
dlls/netapi32/tests/apibuf.c
+2
-2
No files found.
dlls/comdlg32/tests/printdlg.c
View file @
c7e00c9f
...
@@ -50,7 +50,7 @@ static void test_PrintDlgA(void)
...
@@ -50,7 +50,7 @@ static void test_PrintDlgA(void)
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
res
=
PrintDlgA
(
NULL
);
res
=
PrintDlgA
(
NULL
);
ok
(
!
res
&&
(
CommDlgExtendedError
()
==
CDERR_INITIALIZATION
),
ok
(
!
res
&&
(
CommDlgExtendedError
()
==
CDERR_INITIALIZATION
),
"returned %d with 0x%x and 0x%x (expected '0' and "
\
"returned %d with 0x%x and 0x%x (expected '0' and "
"CDERR_INITIALIZATION)
\n
"
,
res
,
GetLastError
(),
CommDlgExtendedError
());
"CDERR_INITIALIZATION)
\n
"
,
res
,
GetLastError
(),
CommDlgExtendedError
());
ZeroMemory
(
pDlg
,
sizeof
(
PRINTDLGA
));
ZeroMemory
(
pDlg
,
sizeof
(
PRINTDLGA
));
...
@@ -58,7 +58,7 @@ static void test_PrintDlgA(void)
...
@@ -58,7 +58,7 @@ static void test_PrintDlgA(void)
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
res
=
PrintDlgA
(
pDlg
);
res
=
PrintDlgA
(
pDlg
);
ok
(
!
res
&&
(
CommDlgExtendedError
()
==
CDERR_STRUCTSIZE
),
ok
(
!
res
&&
(
CommDlgExtendedError
()
==
CDERR_STRUCTSIZE
),
"returned %d with 0x%x and 0x%x (expected '0' and "
\
"returned %d with 0x%x and 0x%x (expected '0' and "
"CDERR_STRUCTSIZE)
\n
"
,
res
,
GetLastError
(),
CommDlgExtendedError
());
"CDERR_STRUCTSIZE)
\n
"
,
res
,
GetLastError
(),
CommDlgExtendedError
());
...
@@ -68,7 +68,7 @@ static void test_PrintDlgA(void)
...
@@ -68,7 +68,7 @@ static void test_PrintDlgA(void)
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
res
=
PrintDlgA
(
pDlg
);
res
=
PrintDlgA
(
pDlg
);
ok
(
res
||
(
CommDlgExtendedError
()
==
PDERR_NODEFAULTPRN
),
ok
(
res
||
(
CommDlgExtendedError
()
==
PDERR_NODEFAULTPRN
),
"returned %d with 0x%x and 0x%x (expected '!= 0' or '0' and "
\
"returned %d with 0x%x and 0x%x (expected '!= 0' or '0' and "
"PDERR_NODEFAULTPRN)
\n
"
,
res
,
GetLastError
(),
CommDlgExtendedError
());
"PDERR_NODEFAULTPRN)
\n
"
,
res
,
GetLastError
(),
CommDlgExtendedError
());
HeapFree
(
GetProcessHeap
(),
0
,
pDlg
);
HeapFree
(
GetProcessHeap
(),
0
,
pDlg
);
...
...
dlls/ddraw/ddraw.c
View file @
c7e00c9f
...
@@ -1169,7 +1169,7 @@ IDirectDrawImpl_TestCooperativeLevel(IDirectDraw7 *iface)
...
@@ -1169,7 +1169,7 @@ IDirectDrawImpl_TestCooperativeLevel(IDirectDraw7 *iface)
case
WINED3DERR_DRIVERINTERNALERROR
:
case
WINED3DERR_DRIVERINTERNALERROR
:
default:
default:
ERR
(
"(%p) Unexpected return value %08x from wineD3D, "
\
ERR
(
"(%p) Unexpected return value %08x from wineD3D, "
" returning DD_OK
\n
"
,
This
,
hr
);
" returning DD_OK
\n
"
,
This
,
hr
);
}
}
...
...
dlls/msvcrt/except.c
View file @
c7e00c9f
...
@@ -68,7 +68,7 @@ typedef struct _MSVCRT_EXCEPTION_FRAME
...
@@ -68,7 +68,7 @@ typedef struct _MSVCRT_EXCEPTION_FRAME
#if defined(__GNUC__) && defined(__i386__)
#if defined(__GNUC__) && defined(__i386__)
inline
static
void
call_finally_block
(
void
*
code_block
,
void
*
base_ptr
)
inline
static
void
call_finally_block
(
void
*
code_block
,
void
*
base_ptr
)
{
{
__asm__
__volatile__
(
"movl %1,%%ebp; call *%%eax"
\
__asm__
__volatile__
(
"movl %1,%%ebp; call *%%eax"
:
:
"a"
(
code_block
),
"g"
(
base_ptr
));
:
:
"a"
(
code_block
),
"g"
(
base_ptr
));
}
}
...
...
dlls/netapi32/tests/apibuf.c
View file @
c7e00c9f
...
@@ -83,13 +83,13 @@ static void run_apibuf_tests(void)
...
@@ -83,13 +83,13 @@ static void run_apibuf_tests(void)
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
res
=
pNetApiBufferAllocate
(
0
,
(
LPVOID
*
)
NULL
);
res
=
pNetApiBufferAllocate
(
0
,
(
LPVOID
*
)
NULL
);
ok
(
(
res
==
ERROR_INVALID_PARAMETER
)
&&
(
GetLastError
()
==
0xdeadbeef
),
ok
(
(
res
==
ERROR_INVALID_PARAMETER
)
&&
(
GetLastError
()
==
0xdeadbeef
),
"returned %d with 0x%x (expected ERROR_INVALID_PARAMETER with "
\
"returned %d with 0x%x (expected ERROR_INVALID_PARAMETER with "
"0xdeadbeef)
\n
"
,
res
,
GetLastError
());
"0xdeadbeef)
\n
"
,
res
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
res
=
pNetApiBufferAllocate
(
1024
,
(
LPVOID
*
)
NULL
);
res
=
pNetApiBufferAllocate
(
1024
,
(
LPVOID
*
)
NULL
);
ok
(
(
res
==
ERROR_INVALID_PARAMETER
)
&&
(
GetLastError
()
==
0xdeadbeef
),
ok
(
(
res
==
ERROR_INVALID_PARAMETER
)
&&
(
GetLastError
()
==
0xdeadbeef
),
"returned %d with 0x%x (expected ERROR_INVALID_PARAMETER with "
\
"returned %d with 0x%x (expected ERROR_INVALID_PARAMETER with "
"0xdeadbeef)
\n
"
,
res
,
GetLastError
());
"0xdeadbeef)
\n
"
,
res
,
GetLastError
());
}
}
...
...
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