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
96848a06
Commit
96848a06
authored
Mar 08, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove spaces before '\n's.
parent
c0a672b1
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
32 additions
and
32 deletions
+32
-32
comcat.c
dlls/comcat/tests/comcat.c
+1
-1
rebar.c
dlls/comctl32/tests/rebar.c
+1
-1
toolbar.c
dlls/comctl32/tests/toolbar.c
+1
-1
container.c
dlls/dmloader/container.c
+1
-1
loader.c
dlls/dmloader/loader.c
+3
-3
scanf.h
dlls/msvcrt/scanf.h
+1
-1
serial.c
dlls/ntdll/serial.c
+1
-1
editor.c
dlls/riched20/tests/editor.c
+3
-3
rsaenh.c
dlls/rsaenh/tests/rsaenh.c
+1
-1
parser.c
dlls/setupapi/tests/parser.c
+4
-4
util.c
dlls/snmpapi/tests/util.c
+7
-7
interrupts.c
dlls/winedos/interrupts.c
+2
-2
expand.c
programs/expand/expand.c
+1
-1
break.c
programs/winedbg/break.c
+1
-1
types.c
programs/winedbg/types.c
+1
-1
output.c
tools/winedump/output.c
+1
-1
pdb.c
tools/winedump/pdb.c
+2
-2
No files found.
dlls/comcat/tests/comcat.c
View file @
96848a06
...
...
@@ -29,7 +29,7 @@
#include "wine/test.h"
#define ok_ole_success(hr, func) ok(hr == S_OK, func " failed with error 0x%08x
\n", hr)
#define ok_ole_success(hr, func) ok(hr == S_OK, func " failed with error 0x%08x\n", hr)
static
BOOL
register_testentry
(
void
)
{
...
...
dlls/comctl32/tests/rebar.c
View file @
96848a06
...
...
@@ -157,7 +157,7 @@ static void dump_sizes(HWND hRebar)
printf("%s{ {%3d, %3d, %3d, %3d}, 0x%02x, %d}, ", (i%2==0 ? "\n " : ""), r.left, r.top, r.right, r.bottom,
rbi.fStyle, rbi.cx);
}
printf("\n }, },
\n");
printf("\n }, },\n");
}
#define check_sizes() dump_sizes(hRebar);
...
...
dlls/comctl32/tests/toolbar.c
View file @
96848a06
...
...
@@ -592,7 +592,7 @@ static void dump_sizes(HWND hToolbar)
SendMessageA(hToolbar, TB_GETITEMRECT, i, &r);
printf("%s{%3d, %3d, %3d, %3d}, ", (i%3==0 ? "\n " : ""), r.left, r.top, r.right, r.bottom);
}
printf("\n }, },
\n");
printf("\n }, },\n");
}
#define check_sizes() dump_sizes(hToolbar);
...
...
dlls/dmloader/container.c
View file @
96848a06
...
...
@@ -641,7 +641,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_IPersistStream_Load (LPPERSISTST
DMUS_IO_CONTAINED_OBJECT_HEADER
tmpObjectHeader
;
TRACE_
(
dmfile
)(
": contained object header chunk
\n
"
);
IStream_Read
(
pStm
,
&
tmpObjectHeader
,
Chunk
.
dwSize
,
NULL
);
TRACE_
(
dmdump
)(
": contained object header:
\n
%s
\n
"
,
debugstr_DMUS_IO_CONTAINED_OBJECT_HEADER
(
&
tmpObjectHeader
));
TRACE_
(
dmdump
)(
": contained object header:
\n
%s
\n
"
,
debugstr_DMUS_IO_CONTAINED_OBJECT_HEADER
(
&
tmpObjectHeader
));
/* copy guidClass */
pNewEntry
->
Desc
.
dwValidData
|=
DMUS_OBJ_CLASS
;
pNewEntry
->
Desc
.
guidClass
=
tmpObjectHeader
.
guidClassID
;
...
...
dlls/dmloader/loader.c
View file @
96848a06
...
...
@@ -26,7 +26,7 @@ static HRESULT DMUSIC_GetLoaderSettings (LPDIRECTMUSICLOADER8 iface, REFGUID pCl
static
HRESULT
DMUSIC_SetLoaderSettings
(
LPDIRECTMUSICLOADER8
iface
,
REFGUID
pClassID
,
WCHAR
*
wszSearchPath
,
LPBOOL
pbCache
);
static
HRESULT
DMUSIC_CopyDescriptor
(
LPDMUS_OBJECTDESC
pDst
,
LPDMUS_OBJECTDESC
pSrc
)
{
TRACE
(
": copy
\n
%s
\n
"
,
debugstr_DMUS_OBJECTDESC
(
pSrc
));
TRACE
(
": copy
\n
%s
\n
"
,
debugstr_DMUS_OBJECTDESC
(
pSrc
));
/* copy field by field */
if
(
pSrc
->
dwValidData
&
DMUS_OBJ_CLASS
)
pDst
->
guidClass
=
pSrc
->
guidClass
;
if
(
pSrc
->
dwValidData
&
DMUS_OBJ_OBJECT
)
pDst
->
guidObject
=
pSrc
->
guidObject
;
...
...
@@ -482,7 +482,7 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_SetObject (LPDIR
}
/* add new entry */
TRACE
(
": adding alias entry with following info:
\n
%s
\n
"
,
debugstr_DMUS_OBJECTDESC
(
pDesc
));
TRACE
(
": adding alias entry with following info:
\n
%s
\n
"
,
debugstr_DMUS_OBJECTDESC
(
pDesc
));
pNewEntry
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
WINE_LOADER_ENTRY
));
/* use this function instead of pure memcpy due to streams (memcpy just copies pointer),
which is basically used further by app that called SetDescriptor... better safety than exception */
...
...
@@ -694,7 +694,7 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_ReleaseObject (L
}
}
if
(
result
==
S_OK
)
{
/*TRACE(": releasing:
\n%s - bInvalidDefaultDLS = %i\n - pObject = %p\n", debugstr_DMUS_OBJECTDESC(&pObjectEntry->Desc), pObjectEntry->bInvalidDefaultDLS, pObjectEntry->pObject); */
/*TRACE(": releasing:\n%s - bInvalidDefaultDLS = %i\n - pObject = %p\n", debugstr_DMUS_OBJECTDESC(&pObjectEntry->Desc), pObjectEntry->bInvalidDefaultDLS, pObjectEntry->pObject); */
IDirectMusicObject_Release
(
pObjectEntry
->
pObject
);
pObjectEntry
->
pObject
=
NULL
;
pObjectEntry
->
Desc
.
dwValidData
&=
~
DMUS_OBJ_LOADED
;
...
...
dlls/msvcrt/scanf.h
View file @
96848a06
...
...
@@ -79,7 +79,7 @@ _FUNCTION_ {
if
(
!*
format
)
return
0
;
#ifndef WIDE_SCANF
#ifdef CONSOLE
TRACE
(
"(%s):
\n
"
,
debugstr_a
(
format
));
TRACE
(
"(%s):
\n
"
,
debugstr_a
(
format
));
#else
/* CONSOLE */
#ifdef STRING
TRACE
(
"%s (%s)
\n
"
,
file
,
debugstr_a
(
format
));
...
...
dlls/ntdll/serial.c
View file @
96848a06
...
...
@@ -486,7 +486,7 @@ static NTSTATUS set_baud_rate(int fd, const SERIAL_BAUD_RATE* sbr)
"a non-standard baud rate %d. Wine will set the rate to %d,
\n
"
"which is as close as we can get by our present understanding of your
\n
"
"hardware. I hope you know what you are doing. Any disruption Wine
\n
"
"has caused to your linux system can be undone with setserial
\n
"
"has caused to your linux system can be undone with setserial
\n
"
"(see man setserial). If you have incapacitated a Hayes type modem,
\n
"
"reset it and it will probably recover.
\n
"
,
sbr
->
BaudRate
,
arby
);
ioctl
(
fd
,
TIOCSSERIAL
,
&
nuts
);
...
...
dlls/riched20/tests/editor.c
View file @
96848a06
...
...
@@ -3282,7 +3282,7 @@ static void test_WM_SETTEXT(void)
memset
(
buf
,
0
,
sizeof
(
buf
));
SendMessage
(
hwndRichEdit
,
EM_STREAMOUT
,
(
WPARAM
)(
SF_RTF
),
(
LPARAM
)
&
es
);
trace
(
"EM_STREAMOUT produced:
\n
%s
\n
"
,
buf
);
trace
(
"EM_STREAMOUT produced:
\n
%s
\n
"
,
buf
);
TEST_SETTEXT
(
buf
,
TestItem1
)
#undef TEST_SETTEXT
...
...
@@ -3618,7 +3618,7 @@ static void test_EM_SETTEXTEX(void)
memset
(
buf
,
0
,
sizeof
(
buf
));
SendMessage
(
hwndRichEdit
,
EM_STREAMOUT
,
(
WPARAM
)(
SF_RTF
),
(
LPARAM
)
&
es
);
trace
(
"EM_STREAMOUT produced:
\n
%s
\n
"
,
(
char
*
)
buf
);
trace
(
"EM_STREAMOUT produced:
\n
%s
\n
"
,
(
char
*
)
buf
);
/* !ST_SELECTION && !Unicode && \rtf */
setText
.
codepage
=
CP_ACP
;
/* EM_STREAMOUT saved as ANSI string */
...
...
@@ -3659,7 +3659,7 @@ static void test_EM_SETTEXTEX(void)
memset
(
buf
,
0
,
sizeof
(
buf
));
SendMessage
(
hwndRichEdit
,
EM_STREAMOUT
,
(
WPARAM
)(
SF_RTF
),
(
LPARAM
)
&
es
);
trace
(
"EM_STREAMOUT produced:
\n
%s
\n
"
,
(
char
*
)
buf
);
trace
(
"EM_STREAMOUT produced:
\n
%s
\n
"
,
(
char
*
)
buf
);
/* select some text */
cr
.
cpMax
=
1
;
...
...
dlls/rsaenh/tests/rsaenh.c
View file @
96848a06
...
...
@@ -106,7 +106,7 @@ static void trace_hex(BYTE *pbData, DWORD dwLen) {
trace(szTemp);
}
for (j=0; i<dwLen; j++,i++) {
sprintf(szTemp+6*j, "0x%02x,
\n", pbData[i]);
sprintf(szTemp+6*j, "0x%02x,\n", pbData[i]);
}
trace(szTemp);
}
...
...
dlls/setupapi/tests/parser.c
View file @
96848a06
...
...
@@ -126,10 +126,10 @@ static const struct
{
";
\n
;
\n
abc
\r\n
"
STD_HEADER
,
ERROR_EXPECTED_SECTION_NAME
,
3
,
0
},
{
";
\n
;
\n
ab
\n
ab
\n
"
STD_HEADER
,
ERROR_EXPECTED_SECTION_NAME
,
3
,
0
},
{
";aa
\n
;bb
\n
"
STD_HEADER
,
0
,
0
,
0
},
{
STD_HEADER
" [TestSection
\x00
]
\n
"
,
ERROR_BAD_SECTION_NAME_LINE
,
3
,
0
},
{
STD_HEADER
" [Test
\x00
Section]
\n
"
,
ERROR_BAD_SECTION_NAME_LINE
,
3
,
0
},
{
STD_HEADER
" [TestSection
\x00
]
\n
"
,
ERROR_BAD_SECTION_NAME_LINE
,
3
,
0
},
{
STD_HEADER
" [Test
\x00
Section]
\n
"
,
ERROR_BAD_SECTION_NAME_LINE
,
3
,
0
},
{
STD_HEADER
" [TestSection
\x00
]
\n
"
,
ERROR_BAD_SECTION_NAME_LINE
,
3
,
0
},
{
STD_HEADER
" [Test
\x00
Section]
\n
"
,
ERROR_BAD_SECTION_NAME_LINE
,
3
,
0
},
{
STD_HEADER
" [TestSection
\x00
]
\n
"
,
ERROR_BAD_SECTION_NAME_LINE
,
3
,
0
},
{
STD_HEADER
" [Test
\x00
Section]
\n
"
,
ERROR_BAD_SECTION_NAME_LINE
,
3
,
0
},
};
static
void
test_invalid_files
(
void
)
...
...
dlls/snmpapi/tests/util.c
View file @
96848a06
...
...
@@ -107,7 +107,7 @@ static void test_SnmpUtilOidToA(void)
{
ret
=
SnmpUtilOidToA
(
NULL
);
ok
(
ret
!=
NULL
,
"SnmpUtilOidToA failed
\n
"
);
ok
(
!
strcmp
(
ret
,
expect0
),
"SnmpUtilOidToA failed got
\n
%s
\n
expected
\n
%s
\n
"
,
ok
(
!
strcmp
(
ret
,
expect0
),
"SnmpUtilOidToA failed got
\n
%s
\n
expected
\n
%s
\n
"
,
ret
,
expect1
);
}
...
...
@@ -115,34 +115,34 @@ static void test_SnmpUtilOidToA(void)
ok
(
ret
!=
NULL
,
"SnmpUtilOidToA failed
\n
"
);
ok
(
!
strcmp
(
ret
,
expect0
)
||
broken
(
!
strcmp
(
ret
,
expect0_alt
)),
/* Win98, WinMe, NT4 */
"SnmpUtilOidToA failed got
\n
%s
\n
expected
\n
%s
\n
"
,
"SnmpUtilOidToA failed got
\n
%s
\n
expected
\n
%s
\n
"
,
ret
,
expect0
);
ret
=
SnmpUtilOidToA
(
&
oid1
);
ok
(
ret
!=
NULL
,
"SnmpUtilOidToA failed
\n
"
);
ok
(
!
strcmp
(
ret
,
expect1
),
"SnmpUtilOidToA failed got
\n
%s
\n
expected
\n
%s
\n
"
,
ok
(
!
strcmp
(
ret
,
expect1
),
"SnmpUtilOidToA failed got
\n
%s
\n
expected
\n
%s
\n
"
,
ret
,
expect1
);
ret
=
SnmpUtilOidToA
(
&
oid2
);
ok
(
ret
!=
NULL
,
"SnmpUtilOidToA failed
\n
"
);
ok
(
!
strcmp
(
ret
,
expect2
),
"SnmpUtilOidToA failed got
\n
%s
\n
expected
\n
%s
\n
"
,
ok
(
!
strcmp
(
ret
,
expect2
),
"SnmpUtilOidToA failed got
\n
%s
\n
expected
\n
%s
\n
"
,
ret
,
expect2
);
ret
=
SnmpUtilOidToA
(
&
oid3
);
ok
(
ret
!=
NULL
,
"SnmpUtilOidToA failed
\n
"
);
ok
(
!
strcmp
(
ret
,
expect3
),
"SnmpUtilOidToA failed got
\n
%s
\n
expected
\n
%s
\n
"
,
ok
(
!
strcmp
(
ret
,
expect3
),
"SnmpUtilOidToA failed got
\n
%s
\n
expected
\n
%s
\n
"
,
ret
,
expect3
);
ret
=
SnmpUtilOidToA
(
&
oid4
);
ok
(
ret
!=
NULL
,
"SnmpUtilOidToA failed
\n
"
);
ok
(
!
strcmp
(
ret
,
expect3
)
||
broken
(
!
strcmp
(
ret
,
expect3_alt
)),
/* Win98, WinMe, NT4 */
"SnmpUtilOidToA failed got
\n
%s
\n
expected
\n
%s
\n
"
,
"SnmpUtilOidToA failed got
\n
%s
\n
expected
\n
%s
\n
"
,
ret
,
expect3
);
ret
=
SnmpUtilOidToA
(
&
oid5
);
ok
(
ret
!=
NULL
,
"SnmpUtilOidToA failed
\n
"
);
ok
(
!
strcmp
(
ret
,
expect4
),
"SnmpUtilOidToA failed got
\n
%s
\n
expected
\n
%s
\n
"
,
ok
(
!
strcmp
(
ret
,
expect4
),
"SnmpUtilOidToA failed got
\n
%s
\n
expected
\n
%s
\n
"
,
ret
,
expect4
);
}
...
...
dlls/winedos/interrupts.c
View file @
96848a06
...
...
@@ -262,7 +262,7 @@ BOOL WINAPI DOSVM_EmulateInterruptPM( CONTEXT86 *context, BYTE intnum )
{
TRACE_
(
relay
)(
"Call DOS int 0x%02x ret=%04x:%08x
\n
"
" eax=%08x ebx=%08x ecx=%08x edx=%08x
\n
"
" esi=%08x edi=%08x ebp=%08x esp=%08x
\n
"
" esi=%08x edi=%08x ebp=%08x esp=%08x
\n
"
" ds=%04x es=%04x fs=%04x gs=%04x ss=%04x flags=%08x
\n
"
,
intnum
,
context
->
SegCs
,
context
->
Eip
,
context
->
Eax
,
context
->
Ebx
,
context
->
Ecx
,
context
->
Edx
,
...
...
@@ -449,7 +449,7 @@ BOOL WINAPI DOSVM_EmulateInterruptRM( CONTEXT86 *context, BYTE intnum )
{
TRACE_
(
relay
)(
"Call DOS int 0x%02x ret=%04x:%08x
\n
"
" eax=%08x ebx=%08x ecx=%08x edx=%08x
\n
"
" esi=%08x edi=%08x ebp=%08x esp=%08x
\n
"
" esi=%08x edi=%08x ebp=%08x esp=%08x
\n
"
" ds=%04x es=%04x fs=%04x gs=%04x ss=%04x flags=%08x
\n
"
,
intnum
,
context
->
SegCs
,
context
->
Eip
,
context
->
Eax
,
context
->
Ebx
,
context
->
Ecx
,
context
->
Edx
,
...
...
programs/expand/expand.c
View file @
96848a06
...
...
@@ -85,7 +85,7 @@ int main(int argc, char *argv[])
{
fprintf
(
stderr
,
"Usage:
\n
"
);
fprintf
(
stderr
,
"
\t
%s infile outfile
\n
"
,
argv
[
0
]
);
fprintf
(
stderr
,
"
\t
%s /r infile
\n
"
,
argv
[
0
]
);
fprintf
(
stderr
,
"
\t
%s /r infile
\n
"
,
argv
[
0
]
);
return
1
;
}
...
...
programs/winedbg/break.c
View file @
96848a06
...
...
@@ -918,7 +918,7 @@ void break_restart_execution(int count)
if
(
mode
==
dbg_exec_step_into_line
&&
symbol_get_function_line_status
(
&
addr
)
==
dbg_no_line_info
)
{
dbg_printf
(
"Single stepping until exit from function,
\n
"
dbg_printf
(
"Single stepping until exit from function,
\n
"
"which has no line number information.
\n
"
);
ret_mode
=
mode
=
dbg_exec_finish
;
}
...
...
programs/winedbg/types.c
View file @
96848a06
...
...
@@ -562,7 +562,7 @@ static BOOL CALLBACK print_types_cb(PSYMBOL_INFO sym, ULONG size, void* ctx)
struct
dbg_type
type
;
type
.
module
=
sym
->
ModBase
;
type
.
id
=
sym
->
TypeIndex
;
dbg_printf
(
"Mod: %08x ID: %08lx
\n
"
,
type
.
module
,
type
.
id
);
dbg_printf
(
"Mod: %08x ID: %08lx
\n
"
,
type
.
module
,
type
.
id
);
types_print_type
(
&
type
,
TRUE
);
dbg_printf
(
"
\n
"
);
return
TRUE
;
...
...
tools/winedump/output.c
View file @
96848a06
...
...
@@ -148,7 +148,7 @@ void output_header_preamble (void)
fprintf
(
hfile
,
"/*
\n
* %s.dll
\n
*
\n
* Generated from %s.dll by winedump.
\n
*
\n
"
" * DO NOT SEND GENERATED DLLS FOR INCLUSION INTO WINE !
\n
*
\n
*/"
" * DO NOT SEND GENERATED DLLS FOR INCLUSION INTO WINE !
\n
*
\n
*/"
"
\n
#ifndef __WINE_%s_DLL_H
\n
#define __WINE_%s_DLL_H
\n\n
"
"#include
\"
windef.h
\"\n
#include
\"
wine/debug.h
\"\n
"
"#include
\"
winbase.h
\"\n
#include
\"
winnt.h
\"\n\n\n
"
,
...
...
tools/winedump/pdb.c
View file @
96848a06
...
...
@@ -334,7 +334,7 @@ static void pdb_dump_symbols(struct pdb_reader* reader)
lineno_size
=
sym_file
->
lineno_size
;
printf
(
"
\t
--------symbol file----------- %s
\n
"
,
file_name
);
printf
(
"
\t
got symbol_file
\n
"
"
\t\t
unknown1: %08x
\n
"
"
\t\t
unknown1: %08x
\n
"
"
\t\t
range
\n
"
"
\t\t\t
segment: %04x
\n
"
"
\t\t\t
pad1: %04x
\n
"
...
...
@@ -374,7 +374,7 @@ static void pdb_dump_symbols(struct pdb_reader* reader)
symbol_size
=
sym_file
->
symbol_size
;
lineno_size
=
sym_file
->
lineno_size
;
printf
(
"
\t
--------symbol file----------- %s
\n
"
,
file_name
);
printf
(
"
\t\t
unknown1: %08x
\n
"
printf
(
"
\t\t
unknown1: %08x
\n
"
"
\t\t
range
\n
"
"
\t\t\t
segment: %04x
\n
"
"
\t\t\t
pad1: %04x
\n
"
...
...
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