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
f8a7d6ed
Commit
f8a7d6ed
authored
Aug 07, 2015
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling fixes.
parent
cad391f0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
46 additions
and
46 deletions
+46
-46
icmstream.c
dlls/avifil32/icmstream.c
+4
-4
listview.c
dlls/comctl32/listview.c
+3
-3
rebar.c
dlls/comctl32/rebar.c
+1
-1
brush.c
dlls/d2d1/brush.c
+3
-3
device.c
dlls/d3d8/device.c
+1
-1
d3drm.c
dlls/d3drm/tests/d3drm.c
+15
-15
cpu_i386.c
dlls/dbghelp/cpu_i386.c
+1
-1
dbghelp.c
dlls/dbghelp/dbghelp.c
+1
-1
gamestatistics.c
dlls/gameux/tests/gamestatistics.c
+2
-2
bitmap.c
dlls/gdi32/bitmap.c
+1
-1
editline.c
dlls/kernel32/editline.c
+1
-1
loader.c
dlls/kernel32/tests/loader.c
+3
-3
localui.c
dlls/localui/localui.c
+1
-1
mpr.c
dlls/mpr/tests/mpr.c
+2
-2
mbcs.c
dlls/msvcrt/mbcs.c
+1
-1
domdoc.c
dlls/msxml3/domdoc.c
+2
-2
virtual.c
dlls/ntdll/virtual.c
+1
-1
storage32.c
dlls/ole32/storage32.c
+2
-2
richole.c
dlls/riched20/tests/richole.c
+1
-1
No files found.
dlls/avifil32/icmstream.c
View file @
f8a7d6ed
...
...
@@ -771,11 +771,11 @@ static HRESULT AVIFILE_EncodeFrame(IAVIStreamImpl *This,
if
(
This
->
lKeyFrameEvery
!=
0
)
{
if
(
This
->
lCurrent
==
This
->
sInfo
.
dwStart
)
{
if
(
idxFlags
&
AVIIF_KEYFRAME
)
{
/*
for keyframes allow
to consume all unused bytes */
/*
allow keyframes
to consume all unused bytes */
dwRequest
=
This
->
dwBytesPerFrame
+
This
->
dwUnusedBytes
;
This
->
dwUnusedBytes
=
0
;
}
else
{
/* for non-keyframes only allow some
thing
of the unused bytes to be consumed */
/* for non-keyframes only allow some of the unused bytes to be consumed */
DWORD
tmp1
=
0
;
DWORD
tmp2
;
...
...
@@ -797,8 +797,8 @@ static HRESULT AVIFILE_EncodeFrame(IAVIStreamImpl *This,
dwRequest
=
MAX_FRAMESIZE
;
}
/* must we check for frame
size to gain
requested
* data
rate or could we trust
codec? */
/* must we check for frame
size to gain the
requested
* data
rate or can we trust the
codec? */
doSizeCheck
=
(
dwRequest
!=
0
&&
((
This
->
dwICMFlags
&
(
VIDCF_CRUNCH
|
VIDCF_QUALITY
))
==
0
));
dwMaxQual
=
dwCurQual
=
This
->
sInfo
.
dwQuality
;
...
...
dlls/comctl32/listview.c
View file @
f8a7d6ed
...
...
@@ -63,9 +63,9 @@
* -- if list is sorted by item text LISTVIEW_InsertItemT could use
* binary search to calculate item index (e.g. DPA_Search()).
* This requires sorted state to be reliably tracked in item modifiers.
* -- we should keep an ordered array of coordinates in iconic mode
*
this would allow to frame
items (iterator_frameditems),
* and find
nearest item (LVFI_NEARESTXY) a lot more efficiently
* -- we should keep an ordered array of coordinates in iconic mode
.
*
This would allow framing
items (iterator_frameditems),
* and find
ing the nearest item (LVFI_NEARESTXY) a lot more efficiently.
*
* Flags
* -- LVIF_COLUMNS
...
...
dlls/comctl32/rebar.c
View file @
f8a7d6ed
...
...
@@ -2294,7 +2294,7 @@ REBAR_GetBandInfoT(const REBAR_INFO *infoPtr, UINT uIndex, LPREBARBANDINFOW lprb
if
(
lprbbi
->
fMask
&
RBBIM_CHILDSIZE
)
{
lprbbi
->
cxMinChild
=
lpBand
->
cxMinChild
;
lprbbi
->
cyMinChild
=
lpBand
->
cyMinChild
;
/* to make tests pass we follow Windows
behaviour and allow to read
these fields only
/* to make tests pass we follow Windows
' behaviour and allow reading
these fields only
* for RBBS_VARIABLEHEIGHTS bands */
if
(
lprbbi
->
cbSize
>=
REBARBANDINFOW_V6_SIZE
&&
(
lpBand
->
fStyle
&
RBBS_VARIABLEHEIGHT
))
{
lprbbi
->
cyChild
=
lpBand
->
cyChild
;
...
...
dlls/d2d1/brush.c
View file @
f8a7d6ed
...
...
@@ -721,7 +721,7 @@ struct d2d_brush *unsafe_impl_from_ID2D1Brush(ID2D1Brush *iface)
return
CONTAINING_RECORD
(
iface
,
struct
d2d_brush
,
ID2D1Brush_iface
);
}
static
D3D10_TEXTURE_ADDRESS_MODE
texture_addres_mode_from_extend_mode
(
D2D1_EXTEND_MODE
mode
)
static
D3D10_TEXTURE_ADDRESS_MODE
texture_addres
s
_mode_from_extend_mode
(
D2D1_EXTEND_MODE
mode
)
{
switch
(
mode
)
{
...
...
@@ -853,8 +853,8 @@ void d2d_brush_bind_resources(struct d2d_brush *brush, struct d2d_d3d_render_tar
sampler_desc
.
Filter
=
D3D10_FILTER_MIN_MAG_MIP_POINT
;
else
sampler_desc
.
Filter
=
D3D10_FILTER_MIN_MAG_MIP_LINEAR
;
sampler_desc
.
AddressU
=
texture_addres_mode_from_extend_mode
(
brush
->
u
.
bitmap
.
extend_mode_x
);
sampler_desc
.
AddressV
=
texture_addres_mode_from_extend_mode
(
brush
->
u
.
bitmap
.
extend_mode_y
);
sampler_desc
.
AddressU
=
texture_addres
s
_mode_from_extend_mode
(
brush
->
u
.
bitmap
.
extend_mode_x
);
sampler_desc
.
AddressV
=
texture_addres
s
_mode_from_extend_mode
(
brush
->
u
.
bitmap
.
extend_mode_y
);
sampler_desc
.
AddressW
=
D3D10_TEXTURE_ADDRESS_CLAMP
;
sampler_desc
.
MipLODBias
=
0
.
0
f
;
sampler_desc
.
MaxAnisotropy
=
0
;
...
...
dlls/d3d8/device.c
View file @
f8a7d6ed
...
...
@@ -1188,7 +1188,7 @@ static HRESULT WINAPI d3d8_device_SetRenderTarget(IDirect3DDevice8 *iface,
if
(
ds_desc
.
multisample_type
!=
rt_desc
.
multisample_type
||
ds_desc
.
multisample_quality
!=
rt_desc
.
multisample_quality
)
{
WARN
(
"Multisample settings do not match, returing D3DERR_INVALIDCALL
\n
"
);
WARN
(
"Multisample settings do not match, retur
n
ing D3DERR_INVALIDCALL
\n
"
);
wined3d_mutex_unlock
();
return
D3DERR_INVALIDCALL
;
...
...
dlls/d3drm/tests/d3drm.c
View file @
f8a7d6ed
This diff is collapsed.
Click to expand it.
dlls/dbghelp/cpu_i386.c
View file @
f8a7d6ed
...
...
@@ -261,7 +261,7 @@ static BOOL i386_stack_walk(struct cpu_stack_walk* csw, LPSTACKFRAME64 frame, CO
}
}
else
/* FIXME: this will allow to work when we're not attached to a live target,
/* FIXME: this will allow
it
to work when we're not attached to a live target,
* but the 16 <=> 32 switch facility won't be available.
*/
curr_switch
=
0
;
...
...
dlls/dbghelp/dbghelp.c
View file @
f8a7d6ed
...
...
@@ -272,7 +272,7 @@ static BOOL check_live_target(struct process* pcs)
* The initialisation of a dbghelp's context.
* Note that hProcess doesn't need to be a valid process handle (except
* when fInvadeProcess is TRUE).
* Since
, we're also allow to load ELF (pure) libraries and Wine ELF libraries
* Since
we also allow loading ELF (pure) libraries and Wine ELF libraries
* containing PE (and NE) module(s), here's how we handle it:
* - we load every module (ELF, NE, PE) passed in SymLoadModule
* - in fInvadeProcess (in SymInitialize) is TRUE, we set up what is called ELF
...
...
dlls/gameux/tests/gamestatistics.c
View file @
f8a7d6ed
...
...
@@ -196,13 +196,13 @@ static void test_gamestatisticsmgr( void )
/* test trying to create interface IGameStatistics using GetGameStatistics method */
/* this should fail,
cause statistics doesn't yet exists
*/
/* this should fail,
because statistics don't exist yet
*/
gs
=
(
void
*
)
0xdeadbeef
;
hr
=
IGameStatisticsMgr_GetGameStatistics
(
gsm
,
sExeName
,
GAMESTATS_OPEN_OPENONLY
,
&
dwOpenResult
,
&
gs
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
),
"GetGameStatistics returned unexpected value: 0x%08x
\n
"
,
hr
);
ok
(
gs
==
NULL
,
"Expected output pointer to be NULL, got %p
\n
"
,
gs
);
/* now, allow t
o create
*/
/* now, allow t
hem to be created
*/
hr
=
IGameStatisticsMgr_GetGameStatistics
(
gsm
,
sExeName
,
GAMESTATS_OPEN_OPENORCREATE
,
&
dwOpenResult
,
&
gs
);
ok
(
SUCCEEDED
(
hr
),
"GetGameStatistics returned error: 0x%x
\n
"
,
hr
);
ok
(
gs
!=
NULL
,
"GetGameStatistics did not return valid interface pointer
\n
"
);
...
...
dlls/gdi32/bitmap.c
View file @
f8a7d6ed
...
...
@@ -194,7 +194,7 @@ HBITMAP WINAPI CreateBitmapIndirect( const BITMAP *bmp )
/* Windows ignores the provided bm.bmWidthBytes */
bm
.
bmWidthBytes
=
get_bitmap_stride
(
bm
.
bmWidth
,
bm
.
bmBitsPixel
);
/* XP doesn't allow
to create bitmaps larger than 128 Mb
*/
/* XP doesn't allow
creating bitmaps larger than 128 MB
*/
if
(
bm
.
bmHeight
>
128
*
1024
*
1024
/
bm
.
bmWidthBytes
)
{
SetLastError
(
ERROR_NOT_ENOUGH_MEMORY
);
...
...
dlls/kernel32/editline.c
View file @
f8a7d6ed
...
...
@@ -233,7 +233,7 @@ static BOOL WCEL_Grow(WCEL_Context* ctx, size_t len)
{
if
(
!
WCEL_IsSingleLine
(
ctx
,
len
)
&&
!
ctx
->
can_wrap
)
{
FIXME
(
"Mode doesn't allow
to wrap. However, we should allow to overwrit
e current string
\n
"
);
FIXME
(
"Mode doesn't allow
wrapping. However, we should allow overwriting th
e current string
\n
"
);
return
FALSE
;
}
...
...
dlls/kernel32/tests/loader.c
View file @
f8a7d6ed
...
...
@@ -1561,7 +1561,7 @@ static BOOL WINAPI dll_entry_point(HINSTANCE hinst, DWORD reason, LPVOID param)
ok
(
ret
==
WAIT_OBJECT_0
,
"expected WAIT_OBJECT_0, got %#x
\n
"
,
ret
);
}
/* win7 doesn't allow
to create a thread during process shutdown,
/* win7 doesn't allow
creating a thread during process shutdown but
* earlier Windows versions allow it.
*/
noop_thread_started
=
0
;
...
...
@@ -1690,8 +1690,8 @@ todo_wine
trace
(
"dll: %p, DLL_THREAD_DETACH, %p
\n
"
,
hinst
,
param
);
ret
=
pRtlDllShutdownInProgress
();
/* win7 doesn't allow
to create a thread during process shutdown,
* earlier Windows versions allow it
, and
DLL_THREAD_DETACH is
/* win7 doesn't allow
creating a thread during process shutdown but
* earlier Windows versions allow it
. In that case
DLL_THREAD_DETACH is
* sent on thread exit, but DLL_THREAD_ATTACH is never received.
*/
if
(
noop_thread_started
)
...
...
dlls/localui/localui.c
View file @
f8a7d6ed
...
...
@@ -615,7 +615,7 @@ static BOOL WINAPI localui_ConfigurePortUI(PCWSTR pName, HWND hWnd, PCWSTR pPort
* Failure: FALSE
*
* NOTES
* Native localui does not allow
to delete a COM / LPT - P
ort (ERROR_NOT_SUPPORTED)
* Native localui does not allow
deleting a COM/LPT p
ort (ERROR_NOT_SUPPORTED)
*
*/
static
BOOL
WINAPI
localui_DeletePortUI
(
PCWSTR
pName
,
HWND
hWnd
,
PCWSTR
pPortName
)
...
...
dlls/mpr/tests/mpr.c
View file @
f8a7d6ed
...
...
@@ -199,10 +199,10 @@ static BOOL CALLBACK enum_password_proc(PASSWORD_CACHE_ENTRY* pce, DWORD param)
ok
(
pce
->
nType
==
m_type
,
"nType, got %d, got %d
\n
"
,
pce
->
nType
,
m_type
);
buf
=
(
char
*
)
pce
->
abResource
;
ok
(
strncmp
(
buf
,
m_resource
,
pce
->
cbResource
)
==
0
,
"enumerated res
s
ource differs, got %.*s, expected %s
\n
"
,
pce
->
cbResource
,
buf
,
m_resource
);
ok
(
strncmp
(
buf
,
m_resource
,
pce
->
cbResource
)
==
0
,
"enumerated resource differs, got %.*s, expected %s
\n
"
,
pce
->
cbResource
,
buf
,
m_resource
);
buf
+=
pce
->
cbResource
;
ok
(
strncmp
(
buf
,
m_password
,
pce
->
cbPassword
)
==
0
,
"enumerated res
s
ource differs, got %.*s, expected %s
\n
"
,
pce
->
cbPassword
,
buf
,
m_password
);
ok
(
strncmp
(
buf
,
m_password
,
pce
->
cbPassword
)
==
0
,
"enumerated resource differs, got %.*s, expected %s
\n
"
,
pce
->
cbPassword
,
buf
,
m_password
);
m_callback_reached
=
1
;
return
TRUE
;
...
...
dlls/msvcrt/mbcs.c
View file @
f8a7d6ed
...
...
@@ -1080,7 +1080,7 @@ int CDECL _mbscat_s_l( unsigned char *dst, MSVCRT_size_t size,
for
(
j
=
0
;
src
[
j
]
&&
i
+
j
<
size
;
j
++
)
dst
[
i
+
j
]
=
src
[
j
];
if
(
i
+
j
==
size
)
{
MSVCRT_INVALID_PMT
(
"dst buffer is to small"
,
MSVCRT_ERANGE
);
MSVCRT_INVALID_PMT
(
"dst buffer is to
o
small"
,
MSVCRT_ERANGE
);
dst
[
0
]
=
0
;
return
MSVCRT_ERANGE
;
}
...
...
dlls/msxml3/domdoc.c
View file @
f8a7d6ed
...
...
@@ -1965,7 +1965,7 @@ static HRESULT WINAPI domdoc_createNode(
}
xml_name
=
xmlchar_from_wchar
(
name
);
/* prevent empty href
to be
allocated */
/* prevent empty href
from being
allocated */
href
=
namespaceURI
?
xmlchar_from_wchar
(
namespaceURI
)
:
NULL
;
switch
(
node_type
)
...
...
@@ -1978,7 +1978,7 @@ static HRESULT WINAPI domdoc_createNode(
xmlnode
=
xmlNewDocNode
(
get_doc
(
This
),
NULL
,
local
?
local
:
xml_name
,
NULL
);
/* allow
to creat
e default namespace xmlns= */
/* allow
creating th
e default namespace xmlns= */
if
(
local
||
(
href
&&
*
href
))
{
xmlNsPtr
ns
=
xmlNewNs
(
xmlnode
,
href
,
prefix
);
...
...
dlls/ntdll/virtual.c
View file @
f8a7d6ed
...
...
@@ -1783,7 +1783,7 @@ SIZE_T virtual_uninterrupted_write_memory( void *addr, const void *buffer, SIZE_
BYTE
*
p
=
view
->
prot
+
(((
const
char
*
)
page
-
(
const
char
*
)
view
->
base
)
>>
page_shift
);
SIZE_T
block_size
;
/* If the page is not writ
e
able then check for write watches
/* If the page is not writable then check for write watches
* before giving up. This can be done without raising a real
* exception. Similar to virtual_handle_fault. */
if
(
!
(
VIRTUAL_GetUnixProt
(
*
p
)
&
PROT_WRITE
))
...
...
dlls/ole32/storage32.c
View file @
f8a7d6ed
...
...
@@ -876,7 +876,7 @@ static HRESULT removeFromTree(
* IEnumSTATSTGImpl definitions.
*
* Definition of the implementation structure for the IEnumSTATSTGImpl interface.
* This class allows iterating through the content of a storage and
to find
* This class allows iterating through the content of a storage and
finding
* specific items inside it.
*/
struct
IEnumSTATSTGImpl
...
...
@@ -2518,7 +2518,7 @@ static HRESULT deleteStreamContents(
* Strategy: This implementation is built this way for simplicity not for speed.
* I always delete the topmost element of the enumeration and adjust
* the deleted element pointer all the time. This takes longer to
* do but allow
to reinvoke
DestroyElement whenever we encounter a
* do but allow
s reinvoking
DestroyElement whenever we encounter a
* storage object. The optimisation resides in the usage of another
* enumeration strategy that would give all the leaves of a storage
* first. (postfix order)
...
...
dlls/riched20/tests/richole.c
View file @
f8a7d6ed
...
...
@@ -3034,7 +3034,7 @@ static void test_SetFont(void)
EXPECT_REF
(
range2
,
2
);
EXPECT_REF
(
range
,
2
);
/* originaly range 0-4 is non-italic */
/* original
l
y range 0-4 is non-italic */
value
=
tomTrue
;
hr
=
ITextFont_GetItalic
(
font
,
&
value
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
...
...
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