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
5ef48192
Commit
5ef48192
authored
Apr 20, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling fixes.
parent
14e03d77
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
19 additions
and
19 deletions
+19
-19
joystick_private.h
dlls/dinput/joystick_private.h
+1
-1
font.c
dlls/gdiplus/font.c
+1
-1
node.c
dlls/msxml3/node.c
+1
-1
options.c
dlls/sane.ds/options.c
+1
-1
router.c
dlls/spoolss/router.c
+1
-1
combo.c
dlls/user32/tests/combo.c
+1
-1
menu.c
dlls/user32/tests/menu.c
+5
-5
sysparams.c
dlls/user32/tests/sysparams.c
+1
-1
waveout.c
dlls/winealsa.drv/waveout.c
+1
-1
glsl_shader.c
dlls/wined3d/glsl_shader.c
+1
-1
audio.c
dlls/wineesd.drv/audio.c
+1
-1
audio.c
dlls/winejack.drv/audio.c
+1
-1
audio.c
dlls/winenas.drv/audio.c
+1
-1
audio.c
dlls/wineoss.drv/audio.c
+1
-1
cookie.c
dlls/wininet/cookie.c
+1
-1
No files found.
dlls/dinput/joystick_private.h
View file @
5ef48192
/*
/*
* Copyright 2009, Aric Stewart, Code
w
eavers
* Copyright 2009, Aric Stewart, Code
W
eavers
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
...
dlls/gdiplus/font.c
View file @
5ef48192
...
@@ -301,7 +301,7 @@ GpStatus WINGDIPAPI GdipGetFamily(GpFont *font, GpFontFamily **family)
...
@@ -301,7 +301,7 @@ GpStatus WINGDIPAPI GdipGetFamily(GpFont *font, GpFontFamily **family)
*
*
* RETURNS
* RETURNS
* SUCCESS: Ok
* SUCCESS: Ok
* FAILURE: InvalidParamter (font or size was NULL)
* FAILURE: InvalidParam
e
ter (font or size was NULL)
*
*
* NOTES
* NOTES
* Size returned is actually emSize -- not internal size used for drawing.
* Size returned is actually emSize -- not internal size used for drawing.
...
...
dlls/msxml3/node.c
View file @
5ef48192
...
@@ -388,7 +388,7 @@ static HRESULT get_node(
...
@@ -388,7 +388,7 @@ static HRESULT get_node(
if
(
!
out
)
if
(
!
out
)
return
E_INVALIDARG
;
return
E_INVALIDARG
;
/* if we dont have a doc, use our parent. */
/* if we don
'
t have a doc, use our parent. */
if
(
node
&&
!
node
->
doc
&&
node
->
parent
)
if
(
node
&&
!
node
->
doc
&&
node
->
parent
)
node
->
doc
=
node
->
parent
->
doc
;
node
->
doc
=
node
->
parent
->
doc
;
...
...
dlls/sane.ds/options.c
View file @
5ef48192
...
@@ -140,7 +140,7 @@ SANE_Status sane_option_get_str(SANE_Handle h, const char *option_name, SANE_Str
...
@@ -140,7 +140,7 @@ SANE_Status sane_option_get_str(SANE_Handle h, const char *option_name, SANE_Str
return
SANE_STATUS_NO_MEM
;
return
SANE_STATUS_NO_MEM
;
}
}
/* Important: SANE has the side effect of o
f o
verwriting val with the returned value */
/* Important: SANE has the side effect of overwriting val with the returned value */
SANE_Status
sane_option_set_str
(
SANE_Handle
h
,
const
char
*
option_name
,
SANE_String
val
,
SANE_Int
*
status
)
SANE_Status
sane_option_set_str
(
SANE_Handle
h
,
const
char
*
option_name
,
SANE_String
val
,
SANE_Int
*
status
)
{
{
SANE_Status
rc
;
SANE_Status
rc
;
...
...
dlls/spoolss/router.c
View file @
5ef48192
...
@@ -270,7 +270,7 @@ BOOL backend_load_all(void)
...
@@ -270,7 +270,7 @@ BOOL backend_load_all(void)
EnterCriticalSection
(
&
backend_cs
);
EnterCriticalSection
(
&
backend_cs
);
/* if we failed before, dont try again */
/* if we failed before, don
'
t try again */
if
(
!
failed
&&
(
used_backends
==
0
))
{
if
(
!
failed
&&
(
used_backends
==
0
))
{
pb
=
backend_load
(
localsplW
,
NULL
,
NULL
);
pb
=
backend_load
(
localsplW
,
NULL
,
NULL
);
...
...
dlls/user32/tests/combo.c
View file @
5ef48192
...
@@ -380,7 +380,7 @@ static void test_changesize( DWORD style)
...
@@ -380,7 +380,7 @@ static void test_changesize( DWORD style)
rc
.
right
-
rc
.
left
,
clwidth
-
2
);
rc
.
right
-
rc
.
left
,
clwidth
-
2
);
ok
(
rc
.
bottom
-
rc
.
top
==
ddheight
,
"drop-down rect height is %d vs %d
\n
"
,
ok
(
rc
.
bottom
-
rc
.
top
==
ddheight
,
"drop-down rect height is %d vs %d
\n
"
,
rc
.
bottom
-
rc
.
top
,
ddheight
);
rc
.
bottom
-
rc
.
top
,
ddheight
);
/* new cx, cy is slightly bigger th
e
n the initial values */
/* new cx, cy is slightly bigger th
a
n the initial values */
MoveWindow
(
hCombo
,
10
,
10
,
clwidth
+
2
,
clheight
+
2
,
TRUE
);
MoveWindow
(
hCombo
,
10
,
10
,
clwidth
+
2
,
clheight
+
2
,
TRUE
);
GetClientRect
(
hCombo
,
&
rc
);
GetClientRect
(
hCombo
,
&
rc
);
ok
(
rc
.
right
-
rc
.
left
==
clwidth
+
2
,
"clientrect witdh is %d vs %d
\n
"
,
ok
(
rc
.
right
-
rc
.
left
==
clwidth
+
2
,
"clientrect witdh is %d vs %d
\n
"
,
...
...
dlls/user32/tests/menu.c
View file @
5ef48192
...
@@ -562,8 +562,8 @@ static void test_mbs_help( int ispop, int hassub, int mnuopt,
...
@@ -562,8 +562,8 @@ static void test_mbs_help( int ispop, int hassub, int mnuopt,
}
}
ret
=
GetMenuItemRect
(
hwnd
,
hmenu
,
0
,
&
rc
);
ret
=
GetMenuItemRect
(
hwnd
,
hmenu
,
0
,
&
rc
);
if
(
0
)
/* comment out menu size checks, behavior is different in almost every Windows version */
if
(
0
)
/* comment out menu size checks, behavior is different in almost every Windows version */
/* the tests should however succeed on win2000, XP and Wine (at least upto 1.1.15) */
/* the tests should however succeed on win2000, XP and Wine (at least up
to 1.1.15) */
/* with a variety of dpi
'
s and desktop font sizes */
/* with a variety of dpis and desktop font sizes */
{
{
/* check menu width */
/* check menu width */
if
(
ispop
)
if
(
ispop
)
...
@@ -2809,7 +2809,7 @@ static void test_menu_trackpopupmenu(void)
...
@@ -2809,7 +2809,7 @@ static void test_menu_trackpopupmenu(void)
gflag_initmenupopup
?
" WM_INITMENUPOPUP "
:
" "
,
gflag_initmenupopup
?
" WM_INITMENUPOPUP "
:
" "
,
gflag_entermenuloop
?
"WM_INITMENULOOP "
:
""
,
gflag_entermenuloop
?
"WM_INITMENULOOP "
:
""
,
gflag_initmenu
?
"WM_INITMENU"
:
""
);
gflag_initmenu
?
"WM_INITMENU"
:
""
);
/* now a somewhat successful
l
call */
/* now a somewhat successful call */
gle
=
0xdeadbeef
;
gle
=
0xdeadbeef
;
gflag_initmenupopup
=
gflag_entermenuloop
=
gflag_initmenu
=
0
;
gflag_initmenupopup
=
gflag_entermenuloop
=
gflag_initmenu
=
0
;
ret
=
MyTrackPopupMenu
(
Ex
,
hmenu
,
0x100
,
100
,
100
,
hwnd
,
NULL
);
ret
=
MyTrackPopupMenu
(
Ex
,
hmenu
,
0x100
,
100
,
100
,
hwnd
,
NULL
);
...
@@ -2913,14 +2913,14 @@ static void test_menu_cancelmode(void)
...
@@ -2913,14 +2913,14 @@ static void test_menu_cancelmode(void)
todo_wine
{
todo_wine
{
ok
(
g_got_enteridle
==
0
,
"received %d WM_ENTERIDLE messages, none expected
\n
"
,
g_got_enteridle
);
ok
(
g_got_enteridle
==
0
,
"received %d WM_ENTERIDLE messages, none expected
\n
"
,
g_got_enteridle
);
}
}
ok
(
g_got_enteridle
<
2
,
"received %d WM_ENTERIDLE messages, should be less th
e
n 2
\n
"
,
g_got_enteridle
);
ok
(
g_got_enteridle
<
2
,
"received %d WM_ENTERIDLE messages, should be less th
a
n 2
\n
"
,
g_got_enteridle
);
/* menu owner is child window */
/* menu owner is child window */
g_hwndtosend
=
hwndchild
;
g_hwndtosend
=
hwndchild
;
ret
=
TrackPopupMenu
(
menu
,
0x100
,
100
,
100
,
0
,
hwndchild
,
NULL
);
ret
=
TrackPopupMenu
(
menu
,
0x100
,
100
,
100
,
0
,
hwndchild
,
NULL
);
todo_wine
{
todo_wine
{
ok
(
g_got_enteridle
==
0
,
"received %d WM_ENTERIDLE messages, none expected
\n
"
,
g_got_enteridle
);
ok
(
g_got_enteridle
==
0
,
"received %d WM_ENTERIDLE messages, none expected
\n
"
,
g_got_enteridle
);
}
}
ok
(
g_got_enteridle
<
2
,
"received %d WM_ENTERIDLE messages, should be less th
e
n 2
\n
"
,
g_got_enteridle
);
ok
(
g_got_enteridle
<
2
,
"received %d WM_ENTERIDLE messages, should be less th
a
n 2
\n
"
,
g_got_enteridle
);
/* now send the WM_CANCELMODE messages to the WRONG window */
/* now send the WM_CANCELMODE messages to the WRONG window */
/* those should fail ( to have any effect) */
/* those should fail ( to have any effect) */
g_hwndtosend
=
hwnd
;
g_hwndtosend
=
hwnd
;
...
...
dlls/user32/tests/sysparams.c
View file @
5ef48192
...
@@ -755,7 +755,7 @@ static void test_SPI_SETBORDER( void ) /* 6 */
...
@@ -755,7 +755,7 @@ static void test_SPI_SETBORDER( void ) /* 6 */
/* FIXME: include new PaddedBorderWidth parameter */
/* FIXME: include new PaddedBorderWidth parameter */
PaddedBorderWidth
=
ncmsave
.
iBorderWidth
-
old_border
;
PaddedBorderWidth
=
ncmsave
.
iBorderWidth
-
old_border
;
if
(
PaddedBorderWidth
){
if
(
PaddedBorderWidth
){
win_skip
(
"Can
not reliable
restore border width yet (PaddedBorderWidth = %d)
\n
"
,
win_skip
(
"Can
not reliably
restore border width yet (PaddedBorderWidth = %d)
\n
"
,
PaddedBorderWidth
);
PaddedBorderWidth
);
return
;
return
;
}
}
...
...
dlls/winealsa.drv/waveout.c
View file @
5ef48192
...
@@ -373,7 +373,7 @@ static void wodPlayer_Reset(WINE_WAVEDEV* wwo, BOOL reset)
...
@@ -373,7 +373,7 @@ static void wodPlayer_Reset(WINE_WAVEDEV* wwo, BOOL reset)
}
else
{
}
else
{
if
(
wwo
->
lpLoopPtr
)
{
if
(
wwo
->
lpLoopPtr
)
{
/* complicated case, not handled yet (could imply modifying the loop counter */
/* complicated case, not handled yet (could imply modifying the loop counter */
FIXME
(
"Pausing while in loop isn't correctly handled yet, ex
cep
t strange results
\n
"
);
FIXME
(
"Pausing while in loop isn't correctly handled yet, ex
pec
t strange results
\n
"
);
wwo
->
lpPlayPtr
=
wwo
->
lpLoopPtr
;
wwo
->
lpPlayPtr
=
wwo
->
lpLoopPtr
;
wwo
->
dwPartialOffset
=
0
;
wwo
->
dwPartialOffset
=
0
;
wwo
->
dwWrittenTotal
=
wwo
->
dwPlayedTotal
;
/* this is wrong !!! */
wwo
->
dwWrittenTotal
=
wwo
->
dwPlayedTotal
;
/* this is wrong !!! */
...
...
dlls/wined3d/glsl_shader.c
View file @
5ef48192
...
@@ -514,7 +514,7 @@ static void shader_glsl_load_np2fixup_constants(
...
@@ -514,7 +514,7 @@ static void shader_glsl_load_np2fixup_constants(
if
(
-
1
!=
prog
->
np2Fixup_location
[
i
])
{
if
(
-
1
!=
prog
->
np2Fixup_location
[
i
])
{
const
IWineD3DBaseTextureImpl
*
const
tex
=
(
const
IWineD3DBaseTextureImpl
*
)
stateBlock
->
textures
[
i
];
const
IWineD3DBaseTextureImpl
*
const
tex
=
(
const
IWineD3DBaseTextureImpl
*
)
stateBlock
->
textures
[
i
];
if
(
!
tex
)
{
if
(
!
tex
)
{
FIXME
(
"Non
-exista
nt texture is flagged for NP2 texcoord fixup
\n
"
);
FIXME
(
"Non
existe
nt texture is flagged for NP2 texcoord fixup
\n
"
);
continue
;
continue
;
}
else
{
}
else
{
const
float
tex_dim
[
2
]
=
{
tex
->
baseTexture
.
pow2Matrix
[
0
],
tex
->
baseTexture
.
pow2Matrix
[
5
]};
const
float
tex_dim
[
2
]
=
{
tex
->
baseTexture
.
pow2Matrix
[
0
],
tex
->
baseTexture
.
pow2Matrix
[
5
]};
...
...
dlls/wineesd.drv/audio.c
View file @
5ef48192
...
@@ -935,7 +935,7 @@ static void wodPlayer_Reset(WINE_WAVEOUT* wwo, BOOL reset)
...
@@ -935,7 +935,7 @@ static void wodPlayer_Reset(WINE_WAVEOUT* wwo, BOOL reset)
}
else
{
}
else
{
if
(
wwo
->
lpLoopPtr
)
{
if
(
wwo
->
lpLoopPtr
)
{
/* complicated case, not handled yet (could imply modifying the loop counter */
/* complicated case, not handled yet (could imply modifying the loop counter */
FIXME
(
"Pausing while in loop isn't correctly handled yet, ex
cep
t strange results
\n
"
);
FIXME
(
"Pausing while in loop isn't correctly handled yet, ex
pec
t strange results
\n
"
);
wwo
->
lpPlayPtr
=
wwo
->
lpLoopPtr
;
wwo
->
lpPlayPtr
=
wwo
->
lpLoopPtr
;
wwo
->
dwPartialOffset
=
0
;
wwo
->
dwPartialOffset
=
0
;
wwo
->
dwWrittenTotal
=
wwo
->
dwPlayedTotal
;
/* this is wrong !!! */
wwo
->
dwWrittenTotal
=
wwo
->
dwPlayedTotal
;
/* this is wrong !!! */
...
...
dlls/winejack.drv/audio.c
View file @
5ef48192
...
@@ -1184,7 +1184,7 @@ static void wodHelper_Reset(WINE_WAVEOUT* wwo, BOOL reset)
...
@@ -1184,7 +1184,7 @@ static void wodHelper_Reset(WINE_WAVEOUT* wwo, BOOL reset)
if
(
wwo
->
lpLoopPtr
)
if
(
wwo
->
lpLoopPtr
)
{
{
/* complicated case, not handled yet (could imply modifying the loop counter) */
/* complicated case, not handled yet (could imply modifying the loop counter) */
FIXME
(
"Pausing while in loop isn't correctly handled yet, ex
cep
t strange results
\n
"
);
FIXME
(
"Pausing while in loop isn't correctly handled yet, ex
pec
t strange results
\n
"
);
wwo
->
lpPlayPtr
=
wwo
->
lpLoopPtr
;
wwo
->
lpPlayPtr
=
wwo
->
lpLoopPtr
;
wwo
->
dwPartialOffset
=
0
;
wwo
->
dwPartialOffset
=
0
;
wwo
->
dwWrittenTotal
=
wwo
->
dwPlayedTotal
;
/* this is wrong !!! */
wwo
->
dwWrittenTotal
=
wwo
->
dwPlayedTotal
;
/* this is wrong !!! */
...
...
dlls/winenas.drv/audio.c
View file @
5ef48192
...
@@ -760,7 +760,7 @@ static void wodPlayer_Reset(WINE_WAVEOUT* wwo, BOOL reset)
...
@@ -760,7 +760,7 @@ static void wodPlayer_Reset(WINE_WAVEOUT* wwo, BOOL reset)
}
else
{
}
else
{
if
(
wwo
->
lpLoopPtr
)
{
if
(
wwo
->
lpLoopPtr
)
{
/* complicated case, not handled yet (could imply modifying the loop counter */
/* complicated case, not handled yet (could imply modifying the loop counter */
FIXME
(
"Pausing while in loop isn't correctly handled yet, ex
cept
strange results
\n
"
);
FIXME
(
"Pausing while in loop isn't correctly handled yet, ex
pec
strange results
\n
"
);
wwo
->
lpPlayPtr
=
wwo
->
lpLoopPtr
;
wwo
->
lpPlayPtr
=
wwo
->
lpLoopPtr
;
wwo
->
WrittenTotal
=
wwo
->
PlayedTotal
;
/* this is wrong !!! */
wwo
->
WrittenTotal
=
wwo
->
PlayedTotal
;
/* this is wrong !!! */
}
else
{
}
else
{
...
...
dlls/wineoss.drv/audio.c
View file @
5ef48192
...
@@ -1742,7 +1742,7 @@ static void wodPlayer_Reset(WINE_WAVEOUT* wwo, BOOL reset)
...
@@ -1742,7 +1742,7 @@ static void wodPlayer_Reset(WINE_WAVEOUT* wwo, BOOL reset)
}
else
{
}
else
{
if
(
wwo
->
lpLoopPtr
)
{
if
(
wwo
->
lpLoopPtr
)
{
/* complicated case, not handled yet (could imply modifying the loop counter */
/* complicated case, not handled yet (could imply modifying the loop counter */
FIXME
(
"Pausing while in loop isn't correctly handled yet, ex
cep
t strange results
\n
"
);
FIXME
(
"Pausing while in loop isn't correctly handled yet, ex
pec
t strange results
\n
"
);
wwo
->
lpPlayPtr
=
wwo
->
lpLoopPtr
;
wwo
->
lpPlayPtr
=
wwo
->
lpLoopPtr
;
wwo
->
dwPartialOffset
=
0
;
wwo
->
dwPartialOffset
=
0
;
wwo
->
dwWrittenTotal
=
wwo
->
dwPlayedTotal
;
/* this is wrong !!! */
wwo
->
dwWrittenTotal
=
wwo
->
dwPlayedTotal
;
/* this is wrong !!! */
...
...
dlls/wininet/cookie.c
View file @
5ef48192
...
@@ -456,7 +456,7 @@ static BOOL set_cookie(LPCWSTR domain, LPCWSTR path, LPCWSTR cookie_name, LPCWST
...
@@ -456,7 +456,7 @@ static BOOL set_cookie(LPCWSTR domain, LPCWSTR path, LPCWSTR cookie_name, LPCWST
strcpyW
(
data
,
cookie_data
);
strcpyW
(
data
,
cookie_data
);
memset
(
&
expiry
,
0
,
sizeof
(
expiry
));
memset
(
&
expiry
,
0
,
sizeof
(
expiry
));
/* lots of information
s
can be parsed out of the cookie value */
/* lots of information can be parsed out of the cookie value */
ptr
=
data
;
ptr
=
data
;
for
(;;)
for
(;;)
...
...
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