Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
bd7b345b
Commit
bd7b345b
authored
Sep 27, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling fixes & co.
parent
3de330db
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
23 deletions
+23
-23
rebar.c
dlls/comctl32/tests/rebar.c
+1
-1
status.c
dlls/comctl32/tests/status.c
+1
-1
treeview.c
dlls/comctl32/tests/treeview.c
+3
-3
sync.c
dlls/kernel32/tests/sync.c
+2
-2
avisplitter.c
dlls/quartz/tests/avisplitter.c
+9
-9
string.c
dlls/shlwapi/string.c
+1
-1
ordinal.c
dlls/shlwapi/tests/ordinal.c
+2
-2
winemenubuilder.c
programs/winemenubuilder/winemenubuilder.c
+4
-4
No files found.
dlls/comctl32/tests/rebar.c
View file @
bd7b345b
...
...
@@ -1115,7 +1115,7 @@ START_TEST(rebar)
init_system_font_height
();
/* LoadLibrary is needed. This file has no reference
s
to functions in comctl32 */
/* LoadLibrary is needed. This file has no reference to functions in comctl32 */
hComctl32
=
LoadLibraryA
(
"comctl32.dll"
);
pInitCommonControlsEx
=
(
void
*
)
GetProcAddress
(
hComctl32
,
"InitCommonControlsEx"
);
if
(
!
pInitCommonControlsEx
)
...
...
dlls/comctl32/tests/status.c
View file @
bd7b345b
...
...
@@ -460,7 +460,7 @@ static void test_status_ownerdraw(void)
r
=
SendMessage
(
hWndStatus
,
SB_SETTEXT
,
SBT_OWNERDRAW
,
(
LPARAM
)
statustext
);
ok
(
r
==
TRUE
,
"Sendmessage returned %d, expected 1
\n
"
,
r
);
ok
(
1
==
g_wmdrawitm_ctr
,
"got %d drawitem messages expected 1
\n
"
,
g_wmdrawitm_ctr
);
/*
;
and again */
/* and again */
g_wmdrawitm_ctr
=
0
;
r
=
SendMessage
(
hWndStatus
,
SB_SETTEXT
,
SBT_OWNERDRAW
,
(
LPARAM
)
statustext
);
ok
(
r
==
TRUE
,
"Sendmessage returned %d, expected 1
\n
"
,
r
);
...
...
dlls/comctl32/tests/treeview.c
View file @
bd7b345b
...
...
@@ -1129,7 +1129,7 @@ static void test_expandinvisible(void)
hTree
=
create_treeview_control
(
0
);
/* The test builds the following tree and expands
then
node 1, while node 0 is collapsed.
/* The test builds the following tree and expands node 1, while node 0 is collapsed.
*
* 0
* |- 1
...
...
@@ -1385,7 +1385,7 @@ static void test_expandnotify(void)
ret
=
SendMessageA
(
hTree
,
TVM_GETITEMA
,
0
,
(
LPARAM
)
&
item
);
expect
(
TRUE
,
ret
);
ok
((
item
.
state
&
TVIS_EXPANDED
)
==
0
,
"expected collapsed
\n
"
);
/* all
next
collapse/expand attempts won't produce any notifications,
/* all
further
collapse/expand attempts won't produce any notifications,
the only way is to reset with all children removed */
ok_sequence
(
sequences
,
PARENT_SEQ_INDEX
,
empty_seq
,
"collapse after expand notifications"
,
FALSE
);
...
...
@@ -1480,7 +1480,7 @@ static void test_TVS_SINGLEEXPAND(void)
ok
(
ret
,
"got %d
\n
"
,
ret
);
ok_sequence
(
sequences
,
PARENT_SEQ_INDEX
,
parent_singleexpand_seq
,
"singleexpand notifications"
,
FALSE
);
/* a workaround for NT4 that sends expand
ing notification
when nothing is about to expand */
/* a workaround for NT4 that sends expand
notifications
when nothing is about to expand */
ret
=
SendMessageA
(
hTree
,
TVM_DELETEITEM
,
0
,
(
LPARAM
)
hRoot
);
ok
(
ret
,
"got %d
\n
"
,
ret
);
fill_tree
(
hTree
);
...
...
dlls/kernel32/tests/sync.c
View file @
bd7b345b
...
...
@@ -135,7 +135,7 @@ static void test_mutex(void)
ok
(
hCreated
!=
NULL
,
"CreateMutex failed with error %d
\n
"
,
GetLastError
());
hOpened
=
OpenMutex
(
0
,
FALSE
,
"WineTestMutex"
);
ok
(
hOpened
==
NULL
,
"OpenMutex succeded
\n
"
);
ok
(
hOpened
==
NULL
,
"OpenMutex succe
e
ded
\n
"
);
hOpened
=
OpenMutex
(
GENERIC_EXECUTE
,
FALSE
,
"WineTestMutex"
);
ok
(
hOpened
!=
NULL
,
"OpenMutex failed with error %d
\n
"
,
GetLastError
());
...
...
@@ -171,7 +171,7 @@ static void test_mutex(void)
}
}
ok
(
failed
==
0x0de0fffe
,
"open succeded when it shouldn't: %x
\n
"
,
failed
);
ok
(
failed
==
0x0de0fffe
,
"open succe
e
ded when it shouldn't: %x
\n
"
,
failed
);
ret
=
ReleaseMutex
(
hCreated
);
ok
(
!
ret
&&
(
GetLastError
()
==
ERROR_NOT_OWNER
),
...
...
dlls/quartz/tests/avisplitter.c
View file @
bd7b345b
...
...
@@ -173,10 +173,10 @@ static const WCHAR wfile[] = {'t','e','s','t','.','a','v','i',0};
static
const
char
afile
[]
=
"test.avi"
;
/* This test doesn't use the quartz filtergraph because it makes it impossible
* to be certain that a thread is really one owned by the avi splitter
* A lot of the decoder filters will also have their own thread, and
w
indows'
* to be certain that a thread is really one owned by the avi splitter
.
* A lot of the decoder filters will also have their own thread, and
W
indows'
* filtergraph has a separate thread for start/stop/seeking requests.
* By avoiding the filtergraph al
l
together and connecting streams directly to
* By avoiding the filtergraph altogether and connecting streams directly to
* the null renderer I am sure that this is not the case here.
*/
static
void
test_threads
(
void
)
...
...
@@ -200,7 +200,7 @@ static void test_threads(void)
return
;
}
/* Before doing anything (
number of threads
at the start differs per OS) */
/* Before doing anything (
the thread count
at the start differs per OS) */
baselevel
=
count_threads
();
file
=
CreateFileW
(
wfile
,
GENERIC_READ
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
...
...
@@ -280,7 +280,7 @@ static void test_threads(void)
curlevel
=
count_threads
();
ok
(
curlevel
==
baselevel
,
"
Amount of threads
should be %d not %d
\n
"
,
baselevel
,
curlevel
);
"
The thread count
should be %d not %d
\n
"
,
baselevel
,
curlevel
);
hr
=
IPin_Connect
(
filepin
,
avipin
,
NULL
);
ok
(
hr
==
S_OK
,
"Could not connect: %08x
\n
"
,
hr
);
...
...
@@ -290,7 +290,7 @@ static void test_threads(void)
expected
=
1
+
baselevel
;
curlevel
=
count_threads
();
ok
(
curlevel
==
expected
,
"
Amount of threads
should be %d not %d
\n
"
,
expected
,
curlevel
);
"
The thread count
should be %d not %d
\n
"
,
expected
,
curlevel
);
IUnknown_Release
(
avipin
);
avipin
=
NULL
;
...
...
@@ -346,7 +346,7 @@ static void test_threads(void)
if
(
hr
!=
S_OK
)
goto
fail2
;
/* At this point there is a minimalistic connected avi splitter that can
*
Be used for all sorts of source filter tests, h
owever that still needs
*
be used for all sorts of source filter tests. H
owever that still needs
* to be written at a later time.
*
* Interesting tests:
...
...
@@ -366,7 +366,7 @@ static void test_threads(void)
curlevel
=
count_threads
();
ok
(
curlevel
==
expected
,
"
Amount of threads
should be %d not %d
\n
"
,
expected
,
curlevel
);
"
The thread count
should be %d not %d
\n
"
,
expected
,
curlevel
);
IBaseFilter_Pause
(
pavi
);
IBaseFilter_Pause
(
preader
);
...
...
@@ -442,7 +442,7 @@ fail:
curlevel
=
count_threads
();
todo_wine
ok
(
curlevel
==
baselevel
,
"
Amount of threads
should be %d not %d
\n
"
,
baselevel
,
curlevel
);
"
The thread count
should be %d not %d
\n
"
,
baselevel
,
curlevel
);
}
START_TEST
(
avisplitter
)
...
...
dlls/shlwapi/string.c
View file @
bd7b345b
...
...
@@ -2364,7 +2364,7 @@ LPWSTR WINAPI StrFormatByteSizeW(LONGLONG llBytes, LPWSTR lpszDest, UINT cchMax)
* counts that lie exactly on a 1024 byte boundary.
*/
if
(
i
>
8
)
dBytes
=
(
double
)(
llBytes
>>
20
)
+
0
.
001
;
/* Scale down by
I
MB */
dBytes
=
(
double
)(
llBytes
>>
20
)
+
0
.
001
;
/* Scale down by
1
MB */
else
dBytes
=
(
double
)
llBytes
+
0
.
00001
;
...
...
dlls/shlwapi/tests/ordinal.c
View file @
bd7b345b
...
...
@@ -2855,7 +2855,7 @@ static void test_SHGetShellKey(void)
hkey
=
pSHGetShellKey
(
SHKEY_Root_HKLM
,
NULL
,
FALSE
);
ok
(
hkey
!=
NULL
,
"Can't open key
\n
"
);
ok
(
SUCCEEDED
(
RegDeleteKeyW
(
hkey
,
WineTestW
)),
"Can't delte key
\n
"
);
ok
(
SUCCEEDED
(
RegDeleteKeyW
(
hkey
,
WineTestW
)),
"Can't del
e
te key
\n
"
);
RegCloseKey
(
hkey
);
hkey
=
pSHGetShellKey
(
SHKEY_Root_HKLM
,
WineTestW
,
TRUE
);
...
...
@@ -2911,7 +2911,7 @@ static void test_SHGetShellKey(void)
hkey
=
pSHGetShellKey
(
SHKEY_Root_HKLM
,
NULL
,
FALSE
);
ok
(
hkey
!=
NULL
,
"Can't create key
\n
"
);
ok
(
SUCCEEDED
(
RegDeleteKeyW
(
hkey
,
WineTestW
)),
"Can't delte key
\n
"
);
ok
(
SUCCEEDED
(
RegDeleteKeyW
(
hkey
,
WineTestW
)),
"Can't del
e
te key
\n
"
);
RegCloseKey
(
hkey
);
}
...
...
programs/winemenubuilder/winemenubuilder.c
View file @
bd7b345b
...
...
@@ -369,7 +369,7 @@ static WCHAR* utf8_chars_to_wchars(LPCSTR string)
* FIXME: should not use stdio
*/
static
HRESULT
convert_to_native_icon
(
IStream
*
icoFile
,
int
*
ind
eces
,
int
numInde
ces
,
static
HRESULT
convert_to_native_icon
(
IStream
*
icoFile
,
int
*
ind
ices
,
int
numIndi
ces
,
const
CLSID
*
outputFormat
,
const
char
*
outputFileName
,
LPCWSTR
commentW
)
{
WCHAR
*
dosOutputFileName
=
NULL
;
...
...
@@ -420,7 +420,7 @@ static HRESULT convert_to_native_icon(IStream *icoFile, int *indeces, int numInd
goto
end
;
}
for
(
i
=
0
;
i
<
numInd
e
ces
;
i
++
)
for
(
i
=
0
;
i
<
numInd
i
ces
;
i
++
)
{
IWICBitmapFrameDecode
*
sourceFrame
=
NULL
;
IWICBitmapSource
*
sourceBitmap
=
NULL
;
...
...
@@ -428,10 +428,10 @@ static HRESULT convert_to_native_icon(IStream *icoFile, int *indeces, int numInd
IPropertyBag2
*
options
=
NULL
;
UINT
width
,
height
;
hr
=
IWICBitmapDecoder_GetFrame
(
decoder
,
ind
e
ces
[
i
],
&
sourceFrame
);
hr
=
IWICBitmapDecoder_GetFrame
(
decoder
,
ind
i
ces
[
i
],
&
sourceFrame
);
if
(
FAILED
(
hr
))
{
WINE_ERR
(
"error 0x%08X getting frame %d
\n
"
,
hr
,
ind
e
ces
[
i
]);
WINE_ERR
(
"error 0x%08X getting frame %d
\n
"
,
hr
,
ind
i
ces
[
i
]);
goto
endloop
;
}
hr
=
WICConvertBitmapSource
(
&
GUID_WICPixelFormat32bppBGRA
,
(
IWICBitmapSource
*
)
sourceFrame
,
&
sourceBitmap
);
...
...
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