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
93494f2a
Commit
93494f2a
authored
Feb 20, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling fixes.
parent
eb2bf541
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
17 additions
and
17 deletions
+17
-17
header.c
dlls/comctl32/tests/header.c
+1
-1
monthcal.c
dlls/comctl32/tests/monthcal.c
+2
-2
visual.c
dlls/d3d9/tests/visual.c
+3
-3
refcount.c
dlls/ddraw/tests/refcount.c
+1
-1
context.c
dlls/wined3d/context.c
+2
-2
state.c
dlls/wined3d/state.c
+1
-1
surface.c
dlls/wined3d/surface.c
+4
-4
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
ftp.c
dlls/wininet/ftp.c
+1
-1
winapi.pm
tools/winapi/winapi.pm
+1
-1
No files found.
dlls/comctl32/tests/header.c
View file @
93494f2a
...
...
@@ -520,7 +520,7 @@ static void test_hdm_getitemrect(void)
expect
(
80
,
rect
.
right
);
expect
(
18
,
rect
.
bottom
);
retVal
=
SendMessage
(
hWndHeader
,
HDM_GETITEMRECT
,
10
,
(
LPARAM
)
&
rect
);
ok
(
retVal
==
0
,
"Getting rect of non
-existing
item should return 0, got %d
\n
"
,
retVal
);
ok
(
retVal
==
0
,
"Getting rect of non
existent
item should return 0, got %d
\n
"
,
retVal
);
}
static
void
test_hdm_layout
(
void
)
...
...
dlls/comctl32/tests/monthcal.c
View file @
93494f2a
...
...
@@ -237,7 +237,7 @@ static void test_monthcal_currDate(HWND hwnd)
expect
(
st_original
.
wMinute
,
st_new
.
wMinute
);
expect
(
st_original
.
wSecond
,
st_new
.
wSecond
);
/* lparam can
not be NULL */
/* lparam cannot be NULL */
res
=
SendMessage
(
hwnd
,
MCM_GETCURSEL
,
0
,
(
LPARAM
)
NULL
);
expect
(
0
,
res
);
}
...
...
@@ -258,7 +258,7 @@ static void test_monthcal_firstDay(HWND hwnd)
res
=
SendMessage
(
hwnd
,
MCM_SETFIRSTDAYOFWEEK
,
0
,
(
LPARAM
)
0
);
expect
(
fday
,
res
);
}
else
{
skip
(
"Can
not retri
ve first day of the week
\n
"
);
skip
(
"Can
not retrie
ve first day of the week
\n
"
);
SendMessage
(
hwnd
,
MCM_SETFIRSTDAYOFWEEK
,
0
,
(
LPARAM
)
0
);
}
...
...
dlls/d3d9/tests/visual.c
View file @
93494f2a
...
...
@@ -20,8 +20,8 @@
/* This test framework allows limited testing of rendering results. Things are rendered, shown on
* the framebuffer, read back from there and compared to expected colors.
*
* However, neither d3d nor opengl is guaranted to be pixel exact, and thus the capability of this test
* is rather limited. As a general guideline for adding tests, do not rely on corner pixels. Draw a big enough
t
* However, neither d3d nor opengl is guarante
e
d to be pixel exact, and thus the capability of this test
* is rather limited. As a general guideline for adding tests, do not rely on corner pixels. Draw a big enough
* area which shows specific behavior(like a quad on the whole screen), and try to get resulting colos with
* all bits set or unset in all channels(like pure red, green, blue, white, black). Hopefully everything that
* causes visible results in games can be tested in a way that does not depend on pixel exactness
...
...
@@ -261,7 +261,7 @@ static void lighting_test(IDirect3DDevice9 *device)
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_SetRenderState returned %s
\n
"
,
DXGetErrorString9
(
hr
));
/* Hack for a bug in d3d9: SetFVF creates a converted vertex declaration, with a circular refcount.
* This prevents the screen res
ulution from be
eing restored correctly on device release. Unset the vdecl
* This prevents the screen res
olution from b
eing restored correctly on device release. Unset the vdecl
*/
IDirect3DDevice9_SetVertexDeclaration
(
device
,
NULL
);
}
...
...
dlls/ddraw/tests/refcount.c
View file @
93494f2a
...
...
@@ -165,7 +165,7 @@ static void test_ddraw_objects(void)
ok
(
ref
==
1
,
"Got refcount %ld, expected 1
\n
"
,
ref
);
IDirectDrawPalette_Release
(
palette
);
/* Sim
m
ilar for surfaces */
/* Similar for surfaces */
hr
=
IDirectDraw4_CreateSurface
(
DDraw4
,
&
ddsd
,
&
surface4
,
NULL
);
ok
(
hr
==
DD_OK
,
"CreateSurface returned %08x
\n
"
,
hr
);
ref
=
getRefcount
(
(
IUnknown
*
)
DDraw4
);
...
...
dlls/wined3d/context.c
View file @
93494f2a
...
...
@@ -197,7 +197,7 @@ static GLXFBConfig* pbuffer_find_fbconfigs(
* This: Device to activate the context for
* target: Surface this context will render to
* display: X11 connection
* win: Taget window. NULL for a pbuffer
* win: Ta
r
get window. NULL for a pbuffer
*
*****************************************************************************/
WineD3DContext
*
CreateContext
(
IWineD3DDeviceImpl
*
This
,
IWineD3DSurfaceImpl
*
target
,
Display
*
display
,
Window
win
)
{
...
...
@@ -368,7 +368,7 @@ out:
* Removes a context from the context manager. The opengl context is not
* destroyed or unset. context is not a valid pointer after that call.
*
* Sim
m
ilar to the former call this isn't a performance critical function. A
* Similar to the former call this isn't a performance critical function. A
* helper function for DestroyContext.
*
* Params:
...
...
dlls/wined3d/state.c
View file @
93494f2a
...
...
@@ -2839,7 +2839,7 @@ static void vertexdeclaration(DWORD state, IWineD3DStateBlockImpl *stateblock, W
updateFog
=
TRUE
;
}
/* Reapply lighting if it is not sheduled for reapplication already */
/* Reapply lighting if it is not s
c
heduled for reapplication already */
if
(
!
isStateDirty
(
context
,
STATE_RENDER
(
WINED3DRS_LIGHTING
)))
{
state_lighting
(
STATE_RENDER
(
WINED3DRS_LIGHTING
),
stateblock
,
context
);
}
...
...
dlls/wined3d/surface.c
View file @
93494f2a
...
...
@@ -266,8 +266,8 @@ ULONG WINAPI IWineD3DSurfaceImpl_Release(IWineD3DSurface *iface) {
TRACE
(
"Activating primary front buffer
\n
"
);
ActivateContext
(
device
,
swapchain
->
frontBuffer
,
CTXUSAGE_RESOURCELOAD
);
}
else
{
TRACE
(
"Device is be
e
ing destroyed, setting lastActiveRenderTarget = 0xdeadbabe
\n
"
);
/* Implicit render target destroyed, that means the device is be
e
ing destroyed
TRACE
(
"Device is being destroyed, setting lastActiveRenderTarget = 0xdeadbabe
\n
"
);
/* Implicit render target destroyed, that means the device is being destroyed
* whatever we set here, it shouldn't matter
*/
device
->
lastActiveRenderTarget
=
(
IWineD3DSurface
*
)
0xdeadbabe
;
...
...
@@ -760,7 +760,7 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_LockRect(IWineD3DSurface *iface, WINED
/* TODO: Make sure that *any* context is active for this thread. It is not important which context that is,
* nor that is has any special setup(CTXUSAGE_LOADRESOURCE is fine), but the code below needs a context.
* A context is guaranted to be there in a single threaded environment, but not with multithreading
* A context is guarante
e
d to be there in a single threaded environment, but not with multithreading
*/
if
(
0
!=
This
->
glDescription
.
textureName
)
{
/* Now I have to copy thing bits back */
...
...
@@ -2802,7 +2802,7 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
}
}
/* Default: Fall back to the generic blt. Not an error, a TRACE is enough
t
*/
/* Default: Fall back to the generic blt. Not an error, a TRACE is enough */
TRACE
(
"Didn't find any usable render target setup for hw blit, falling back to software
\n
"
);
return
WINED3DERR_INVALIDCALL
;
}
...
...
dlls/wined3d/wined3d_private.h
View file @
93494f2a
...
...
@@ -560,7 +560,7 @@ typedef struct IWineD3DImpl
extern
const
IWineD3DVtbl
IWineD3D_Vtbl
;
/* TODO: setup some flags in the reg
e
stry to enable, disable pbuffer support
/* TODO: setup some flags in the reg
i
stry to enable, disable pbuffer support
(since it will break quite a few things until contexts are managed properly!) */
extern
BOOL
pbuffer_support
;
/* allocate one pbuffer per surface */
...
...
dlls/wininet/ftp.c
View file @
93494f2a
...
...
@@ -3421,7 +3421,7 @@ static DWORD FTP_SetResponseError(DWORD dwResponse)
case
451
:
/* Action aborted. Server error. */
case
452
:
/* Action not taken. Insufficient storage space on server. */
case
502
:
/* Command not implemented. */
case
503
:
/* Bad sequence of command. */
case
503
:
/* Bad sequence of command
s
. */
case
504
:
/* Command not implemented for that parameter. */
case
532
:
/* Need account for storing files */
case
551
:
/* Requested action aborted. Page type unknown */
...
...
tools/winapi/winapi.pm
View file @
93494f2a
...
...
@@ -385,7 +385,7 @@ sub parse_spec_file($$) {
my
$name4
=
$name
;
$name4
=~
s/^(VxDCall)\d$/$1/
;
# FIXME: This special case is bec
ua
se of a very ugly kludge that should be fixed IMHO
# FIXME: This special case is bec
au
se of a very ugly kludge that should be fixed IMHO
my
$name5
=
$name
;
$name5
=~
s/^(.*?16)_(.*?)$/$1_fn$2/
;
...
...
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