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
4c8e2182
Commit
4c8e2182
authored
Feb 13, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling fixes.
parent
59a43c4c
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
32 additions
and
32 deletions
+32
-32
colordlg.c
dlls/comdlg32/colordlg.c
+1
-1
colordlg16.c
dlls/comdlg32/colordlg16.c
+1
-1
filedlg.c
dlls/comdlg32/filedlg.c
+4
-4
filedlg16.c
dlls/comdlg32/filedlg16.c
+2
-2
printdlg.c
dlls/comdlg32/printdlg.c
+1
-1
rootstore.c
dlls/crypt32/rootstore.c
+1
-1
msg.c
dlls/crypt32/tests/msg.c
+1
-1
store.c
dlls/crypt32/tests/store.c
+1
-1
ctapi.h
dlls/ctapi32/ctapi.h
+1
-1
device.c
dlls/d3d8/tests/device.c
+1
-1
device.c
dlls/d3d9/tests/device.c
+7
-7
surface.c
dlls/ddraw/surface.c
+1
-1
visual.c
dlls/ddraw/tests/visual.c
+2
-2
localspl_main.c
dlls/localspl/localspl_main.c
+1
-1
docfrag.c
dlls/msxml3/docfrag.c
+1
-1
entityref.c
dlls/msxml3/entityref.c
+1
-1
stg_bigblockfile.c
dlls/ole32/stg_bigblockfile.c
+1
-1
stream.c
dlls/urlmon/tests/stream.c
+1
-1
url.c
dlls/urlmon/tests/url.c
+1
-1
mscvpdb.h
include/wine/mscvpdb.h
+1
-1
builtins.c
programs/cmd/builtins.c
+1
-1
No files found.
dlls/comdlg32/colordlg.c
View file @
4c8e2182
...
@@ -80,7 +80,7 @@ typedef struct CCPRIVATE
...
@@ -80,7 +80,7 @@ typedef struct CCPRIVATE
RECT
fullsize
;
/* original dialog window size */
RECT
fullsize
;
/* original dialog window size */
UINT
msetrgb
;
/* # of SETRGBSTRING message (today not used) */
UINT
msetrgb
;
/* # of SETRGBSTRING message (today not used) */
RECT
old3angle
;
/* last position of l-marker */
RECT
old3angle
;
/* last position of l-marker */
RECT
oldcross
;
/* last position of color/satuation marker */
RECT
oldcross
;
/* last position of color/satu
r
ation marker */
BOOL
updating
;
/* to prevent recursive WM_COMMAND/EN_UPDATE processing */
BOOL
updating
;
/* to prevent recursive WM_COMMAND/EN_UPDATE processing */
int
h
;
int
h
;
int
s
;
int
s
;
...
...
dlls/comdlg32/colordlg16.c
View file @
4c8e2182
...
@@ -58,7 +58,7 @@ typedef struct CCPRIVATE
...
@@ -58,7 +58,7 @@ typedef struct CCPRIVATE
RECT
fullsize
;
/* original dialog window size */
RECT
fullsize
;
/* original dialog window size */
UINT
msetrgb
;
/* # of SETRGBSTRING message (today not used) */
UINT
msetrgb
;
/* # of SETRGBSTRING message (today not used) */
RECT
old3angle
;
/* last position of l-marker */
RECT
old3angle
;
/* last position of l-marker */
RECT
oldcross
;
/* last position of color/satuation marker */
RECT
oldcross
;
/* last position of color/satu
r
ation marker */
BOOL
updating
;
/* to prevent recursive WM_COMMAND/EN_UPDATE processing */
BOOL
updating
;
/* to prevent recursive WM_COMMAND/EN_UPDATE processing */
int
h
;
int
h
;
int
s
;
int
s
;
...
...
dlls/comdlg32/filedlg.c
View file @
4c8e2182
...
@@ -1834,7 +1834,7 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
...
@@ -1834,7 +1834,7 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
TRACE
(
"current directory=%s
\n
"
,
debugstr_w
(
lpstrPathAndFile
));
TRACE
(
"current directory=%s
\n
"
,
debugstr_w
(
lpstrPathAndFile
));
/* if the user specif
y
ed a fully qualified path use it */
/* if the user specif
i
ed a fully qualified path use it */
if
(
PathIsRelativeW
(
lpstrFileList
))
if
(
PathIsRelativeW
(
lpstrFileList
))
{
{
lstrcatW
(
lpstrPathAndFile
,
lpstrFileList
);
lstrcatW
(
lpstrPathAndFile
,
lpstrFileList
);
...
@@ -3681,7 +3681,7 @@ static void CALLBACK FD32_UpdateResult(const FD31_DATA *lfs)
...
@@ -3681,7 +3681,7 @@ static void CALLBACK FD32_UpdateResult(const FD31_DATA *lfs)
priv
->
ofnA
->
lpstrFile
,
ofnW
->
nMaxFile
,
NULL
,
NULL
))
priv
->
ofnA
->
lpstrFile
,
ofnW
->
nMaxFile
,
NULL
,
NULL
))
priv
->
ofnA
->
lpstrFile
[
ofnW
->
nMaxFile
-
1
]
=
0
;
priv
->
ofnA
->
lpstrFile
[
ofnW
->
nMaxFile
-
1
]
=
0
;
/* offsets are not guar
e
nteed to be the same in WCHAR to MULTIBYTE conversion */
/* offsets are not guar
a
nteed to be the same in WCHAR to MULTIBYTE conversion */
/* set filename offset */
/* set filename offset */
lpszTemp
=
PathFindFileNameA
(
priv
->
ofnA
->
lpstrFile
);
lpszTemp
=
PathFindFileNameA
(
priv
->
ofnA
->
lpstrFile
);
priv
->
ofnA
->
nFileOffset
=
(
lpszTemp
-
priv
->
ofnA
->
lpstrFile
);
priv
->
ofnA
->
nFileOffset
=
(
lpszTemp
-
priv
->
ofnA
->
lpstrFile
);
...
@@ -3813,7 +3813,7 @@ static INT_PTR CALLBACK FD32_FileOpenDlgProc(HWND hWnd, UINT wMsg,
...
@@ -3813,7 +3813,7 @@ static INT_PTR CALLBACK FD32_FileOpenDlgProc(HWND hWnd, UINT wMsg,
*
*
* Creates a win31 style dialog box for the user to select a file to open/save.
* Creates a win31 style dialog box for the user to select a file to open/save.
*/
*/
static
BOOL
GetFileName31A
(
LPOPENFILENAMEA
lpofn
,
/* addess of structure with data*/
static
BOOL
GetFileName31A
(
LPOPENFILENAMEA
lpofn
,
/* add
r
ess of structure with data*/
UINT
dlgType
/* type dialogue : open/save */
UINT
dlgType
/* type dialogue : open/save */
)
)
{
{
...
@@ -3844,7 +3844,7 @@ static BOOL GetFileName31A(LPOPENFILENAMEA lpofn, /* addess of structure with da
...
@@ -3844,7 +3844,7 @@ static BOOL GetFileName31A(LPOPENFILENAMEA lpofn, /* addess of structure with da
*
*
* Creates a win31 style dialog box for the user to select a file to open/save
* Creates a win31 style dialog box for the user to select a file to open/save
*/
*/
static
BOOL
GetFileName31W
(
LPOPENFILENAMEW
lpofn
,
/* addess of structure with data*/
static
BOOL
GetFileName31W
(
LPOPENFILENAMEW
lpofn
,
/* add
r
ess of structure with data*/
UINT
dlgType
/* type dialogue : open/save */
UINT
dlgType
/* type dialogue : open/save */
)
)
{
{
...
...
dlls/comdlg32/filedlg16.c
View file @
4c8e2182
...
@@ -73,7 +73,7 @@ static void FD16_MapOfnStruct16(const OPENFILENAME16 *ofn16, LPOPENFILENAMEW ofn
...
@@ -73,7 +73,7 @@ static void FD16_MapOfnStruct16(const OPENFILENAME16 *ofn16, LPOPENFILENAMEW ofn
if
(
HIWORD
(
ofn16
->
lpTemplateName
))
if
(
HIWORD
(
ofn16
->
lpTemplateName
))
ofnA
.
lpTemplateName
=
MapSL
(
ofn16
->
lpTemplateName
);
ofnA
.
lpTemplateName
=
MapSL
(
ofn16
->
lpTemplateName
);
else
else
ofnA
.
lpTemplateName
=
(
LPSTR
)
ofn16
->
lpTemplateName
;
/* res
s
ource number */
ofnA
.
lpTemplateName
=
(
LPSTR
)
ofn16
->
lpTemplateName
;
/* resource number */
/* now calls the 32 bits Ansi to Unicode version to complete the job */
/* now calls the 32 bits Ansi to Unicode version to complete the job */
FD31_MapOfnStructA
(
&
ofnA
,
ofnW
,
open
);
FD31_MapOfnStructA
(
&
ofnA
,
ofnW
,
open
);
}
}
...
@@ -485,7 +485,7 @@ BOOL16 WINAPI GetOpenFileName16(
...
@@ -485,7 +485,7 @@ BOOL16 WINAPI GetOpenFileName16(
* unknown. There are some FIXME's left.
* unknown. There are some FIXME's left.
*/
*/
BOOL16
WINAPI
GetSaveFileName16
(
BOOL16
WINAPI
GetSaveFileName16
(
SEGPTR
ofn
/* [in/out] addess of structure with data*/
SEGPTR
ofn
/* [in/out] add
r
ess of structure with data*/
)
)
{
{
HINSTANCE16
hInst
;
HINSTANCE16
hInst
;
...
...
dlls/comdlg32/printdlg.c
View file @
4c8e2182
...
@@ -3246,7 +3246,7 @@ PRINTDLG_PageDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
...
@@ -3246,7 +3246,7 @@ PRINTDLG_PageDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
GWLP_WNDPROC
,
GWLP_WNDPROC
,
(
ULONG_PTR
)
PRINTDLG_PagePaintProc
);
(
ULONG_PTR
)
PRINTDLG_PagePaintProc
);
/* FIXME: Paint hook. Must it be at begin of initializtion or at end? */
/* FIXME: Paint hook. Must it be at begin of initializ
a
tion or at end? */
res
=
TRUE
;
res
=
TRUE
;
if
(
pda
->
dlga
->
Flags
&
PSD_ENABLEPAGESETUPHOOK
)
{
if
(
pda
->
dlga
->
Flags
&
PSD_ENABLEPAGESETUPHOOK
)
{
if
(
!
pda
->
dlga
->
lpfnPageSetupHook
(
hDlg
,
uMsg
,
wParam
,(
LPARAM
)
pda
->
dlga
))
if
(
!
pda
->
dlga
->
lpfnPageSetupHook
(
hDlg
,
uMsg
,
wParam
,(
LPARAM
)
pda
->
dlga
))
...
...
dlls/crypt32/rootstore.c
View file @
4c8e2182
...
@@ -97,7 +97,7 @@ static BOOL add_line_to_buffer(struct DynamicBuffer *buffer, LPCSTR line)
...
@@ -97,7 +97,7 @@ static BOOL add_line_to_buffer(struct DynamicBuffer *buffer, LPCSTR line)
}
}
/* Reads any base64-encoded certificates present in fp and adds them to store.
/* Reads any base64-encoded certificates present in fp and adds them to store.
* Returns TRUE if any certifcates were successfully imported.
* Returns TRUE if any certif
i
cates were successfully imported.
*/
*/
static
BOOL
import_base64_certs_from_fp
(
FILE
*
fp
,
HCERTSTORE
store
)
static
BOOL
import_base64_certs_from_fp
(
FILE
*
fp
,
HCERTSTORE
store
)
{
{
...
...
dlls/crypt32/tests/msg.c
View file @
4c8e2182
...
@@ -1921,7 +1921,7 @@ static void test_decode_msg_update(void)
...
@@ -1921,7 +1921,7 @@ static void test_decode_msg_update(void)
"Expected CRYPT_E_ASN1_BADTAG, got %x
\n
"
,
GetLastError
());
"Expected CRYPT_E_ASN1_BADTAG, got %x
\n
"
,
GetLastError
());
CryptMsgClose
(
msg
);
CryptMsgClose
(
msg
);
/* An empty message can be opened with
i
ndetermined type.. */
/* An empty message can be opened with
u
ndetermined type.. */
msg
=
CryptMsgOpenToDecode
(
PKCS_7_ASN_ENCODING
,
0
,
0
,
0
,
NULL
,
NULL
);
msg
=
CryptMsgOpenToDecode
(
PKCS_7_ASN_ENCODING
,
0
,
0
,
0
,
NULL
,
NULL
);
ret
=
CryptMsgUpdate
(
msg
,
dataEmptyContent
,
sizeof
(
dataEmptyContent
),
ret
=
CryptMsgUpdate
(
msg
,
dataEmptyContent
,
sizeof
(
dataEmptyContent
),
TRUE
);
TRUE
);
...
...
dlls/crypt32/tests/store.c
View file @
4c8e2182
...
@@ -1942,7 +1942,7 @@ static void test_I_UpdateStore(void)
...
@@ -1942,7 +1942,7 @@ static void test_I_UpdateStore(void)
}
}
CertDeleteCertificateFromStore
(
cert
);
CertDeleteCertificateFromStore
(
cert
);
/* If a context is deleted from store2, I_CertUpdateStore delets it
/* If a context is deleted from store2, I_CertUpdateStore delet
e
s it
* from store1
* from store1
*/
*/
ret
=
pI_CertUpdatestore
(
store1
,
store2
,
0
,
0
);
ret
=
pI_CertUpdatestore
(
store1
,
store2
,
0
,
0
);
...
...
dlls/ctapi32/ctapi.h
View file @
4c8e2182
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#ifndef H_CTAPI
#ifndef H_CTAPI
#define H_CTAPI
#define H_CTAPI
/* More uniqe defines */
/* More uniq
u
e defines */
#define CT_API_AD_HOST 2
#define CT_API_AD_HOST 2
#define CT_API_AD_REMOTE 5
#define CT_API_AD_REMOTE 5
...
...
dlls/d3d8/tests/device.c
View file @
4c8e2182
...
@@ -940,7 +940,7 @@ static void test_shader(void)
...
@@ -940,7 +940,7 @@ static void test_shader(void)
HeapFree
(
GetProcessHeap
(),
0
,
data
);
HeapFree
(
GetProcessHeap
(),
0
,
data
);
/* Verify that we can retrieve the shader function */
/* Verify that we can retrieve the shader function */
hr
=
IDirect3DDevice8_GetVertexShaderFunction
(
pDevice
,
hVertexShader
,
NULL
,
&
data_size
);
hr
=
IDirect3DDevice8_GetVertexShaderFunction
(
pDevice
,
hVertexShader
,
NULL
,
&
data_size
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice8_GetVertexShaderFu
cn
tion returned %#08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice8_GetVertexShaderFu
nc
tion returned %#08x
\n
"
,
hr
);
ok
(
data_size
==
simple_vs_size
,
"Got data_size %u, expected %u
\n
"
,
data_size
,
simple_vs_size
);
ok
(
data_size
==
simple_vs_size
,
"Got data_size %u, expected %u
\n
"
,
data_size
,
simple_vs_size
);
data
=
HeapAlloc
(
GetProcessHeap
(),
0
,
simple_vs_size
);
data
=
HeapAlloc
(
GetProcessHeap
(),
0
,
simple_vs_size
);
data_size
=
1
;
data_size
=
1
;
...
...
dlls/d3d9/tests/device.c
View file @
4c8e2182
...
@@ -805,7 +805,7 @@ static void test_reset(void)
...
@@ -805,7 +805,7 @@ static void test_reset(void)
hr
=
IDirect3DDevice9_Reset
(
pDevice
,
&
d3dpp
);
hr
=
IDirect3DDevice9_Reset
(
pDevice
,
&
d3dpp
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_Reset failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_Reset failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
hr
=
IDirect3DDevice9_TestCooperativeLevel
(
pDevice
);
hr
=
IDirect3DDevice9_TestCooperativeLevel
(
pDevice
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_TestCooperativeLevel after a successful
l
reset returned %#x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_TestCooperativeLevel after a successful reset returned %#x
\n
"
,
hr
);
ZeroMemory
(
&
vp
,
sizeof
(
vp
));
ZeroMemory
(
&
vp
,
sizeof
(
vp
));
hr
=
IDirect3DDevice9_GetViewport
(
pDevice
,
&
vp
);
hr
=
IDirect3DDevice9_GetViewport
(
pDevice
,
&
vp
);
...
@@ -848,7 +848,7 @@ static void test_reset(void)
...
@@ -848,7 +848,7 @@ static void test_reset(void)
hr
=
IDirect3DDevice9_Reset
(
pDevice
,
&
d3dpp
);
hr
=
IDirect3DDevice9_Reset
(
pDevice
,
&
d3dpp
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_Reset failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_Reset failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
hr
=
IDirect3DDevice9_TestCooperativeLevel
(
pDevice
);
hr
=
IDirect3DDevice9_TestCooperativeLevel
(
pDevice
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_TestCooperativeLevel after a successful
l
reset returned %#x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_TestCooperativeLevel after a successful reset returned %#x
\n
"
,
hr
);
width
=
GetSystemMetrics
(
SM_CXSCREEN
);
width
=
GetSystemMetrics
(
SM_CXSCREEN
);
height
=
GetSystemMetrics
(
SM_CYSCREEN
);
height
=
GetSystemMetrics
(
SM_CYSCREEN
);
...
@@ -901,7 +901,7 @@ static void test_reset(void)
...
@@ -901,7 +901,7 @@ static void test_reset(void)
hr
=
IDirect3DDevice9_Reset
(
pDevice
,
&
d3dpp
);
hr
=
IDirect3DDevice9_Reset
(
pDevice
,
&
d3dpp
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_Reset failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_Reset failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
hr
=
IDirect3DDevice9_TestCooperativeLevel
(
pDevice
);
hr
=
IDirect3DDevice9_TestCooperativeLevel
(
pDevice
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_TestCooperativeLevel after a successful
l
reset returned %#x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_TestCooperativeLevel after a successful reset returned %#x
\n
"
,
hr
);
/* Scratch, sysmem and managed pools are fine */
/* Scratch, sysmem and managed pools are fine */
hr
=
IDirect3DDevice9_CreateOffscreenPlainSurface
(
pDevice
,
16
,
16
,
D3DFMT_R5G6B5
,
D3DPOOL_SCRATCH
,
&
surface
,
NULL
);
hr
=
IDirect3DDevice9_CreateOffscreenPlainSurface
(
pDevice
,
16
,
16
,
D3DFMT_R5G6B5
,
D3DPOOL_SCRATCH
,
&
surface
,
NULL
);
...
@@ -909,7 +909,7 @@ static void test_reset(void)
...
@@ -909,7 +909,7 @@ static void test_reset(void)
hr
=
IDirect3DDevice9_Reset
(
pDevice
,
&
d3dpp
);
hr
=
IDirect3DDevice9_Reset
(
pDevice
,
&
d3dpp
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_Reset failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_Reset failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
hr
=
IDirect3DDevice9_TestCooperativeLevel
(
pDevice
);
hr
=
IDirect3DDevice9_TestCooperativeLevel
(
pDevice
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_TestCooperativeLevel after a successful
l
reset returned %#x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_TestCooperativeLevel after a successful reset returned %#x
\n
"
,
hr
);
IDirect3DSurface9_Release
(
surface
);
IDirect3DSurface9_Release
(
surface
);
hr
=
IDirect3DDevice9_CreateOffscreenPlainSurface
(
pDevice
,
16
,
16
,
D3DFMT_R5G6B5
,
D3DPOOL_SYSTEMMEM
,
&
surface
,
NULL
);
hr
=
IDirect3DDevice9_CreateOffscreenPlainSurface
(
pDevice
,
16
,
16
,
D3DFMT_R5G6B5
,
D3DPOOL_SYSTEMMEM
,
&
surface
,
NULL
);
...
@@ -917,7 +917,7 @@ static void test_reset(void)
...
@@ -917,7 +917,7 @@ static void test_reset(void)
hr
=
IDirect3DDevice9_Reset
(
pDevice
,
&
d3dpp
);
hr
=
IDirect3DDevice9_Reset
(
pDevice
,
&
d3dpp
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_Reset failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_Reset failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
hr
=
IDirect3DDevice9_TestCooperativeLevel
(
pDevice
);
hr
=
IDirect3DDevice9_TestCooperativeLevel
(
pDevice
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_TestCooperativeLevel after a successful
l
reset returned %#x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_TestCooperativeLevel after a successful reset returned %#x
\n
"
,
hr
);
IDirect3DSurface9_Release
(
surface
);
IDirect3DSurface9_Release
(
surface
);
hr
=
IDirect3DDevice9_CreateTexture
(
pDevice
,
16
,
16
,
0
,
0
,
D3DFMT_R5G6B5
,
D3DPOOL_MANAGED
,
&
texture
,
NULL
);
hr
=
IDirect3DDevice9_CreateTexture
(
pDevice
,
16
,
16
,
0
,
0
,
D3DFMT_R5G6B5
,
D3DPOOL_MANAGED
,
&
texture
,
NULL
);
...
@@ -925,7 +925,7 @@ static void test_reset(void)
...
@@ -925,7 +925,7 @@ static void test_reset(void)
hr
=
IDirect3DDevice9_Reset
(
pDevice
,
&
d3dpp
);
hr
=
IDirect3DDevice9_Reset
(
pDevice
,
&
d3dpp
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_Reset failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_Reset failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
hr
=
IDirect3DDevice9_TestCooperativeLevel
(
pDevice
);
hr
=
IDirect3DDevice9_TestCooperativeLevel
(
pDevice
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_TestCooperativeLevel after a successful
l
reset returned %#x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_TestCooperativeLevel after a successful reset returned %#x
\n
"
,
hr
);
IDirect3DTexture9_Release
(
texture
);
IDirect3DTexture9_Release
(
texture
);
/* A reference held to an implicit surface causes failures as well */
/* A reference held to an implicit surface causes failures as well */
...
@@ -939,7 +939,7 @@ static void test_reset(void)
...
@@ -939,7 +939,7 @@ static void test_reset(void)
hr
=
IDirect3DDevice9_Reset
(
pDevice
,
&
d3dpp
);
hr
=
IDirect3DDevice9_Reset
(
pDevice
,
&
d3dpp
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_Reset failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_Reset failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
hr
=
IDirect3DDevice9_TestCooperativeLevel
(
pDevice
);
hr
=
IDirect3DDevice9_TestCooperativeLevel
(
pDevice
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_TestCooperativeLevel after a successful
l
reset returned %#x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_TestCooperativeLevel after a successful reset returned %#x
\n
"
,
hr
);
/* Shaders are fine as well */
/* Shaders are fine as well */
hr
=
IDirect3DDevice9_CreateVertexShader
(
pDevice
,
simple_vs
,
&
shader
);
hr
=
IDirect3DDevice9_CreateVertexShader
(
pDevice
,
simple_vs
,
&
shader
);
...
...
dlls/ddraw/surface.c
View file @
4c8e2182
...
@@ -744,7 +744,7 @@ IDirectDrawSurfaceImpl_Flip(IDirectDrawSurface7 *iface,
...
@@ -744,7 +744,7 @@ IDirectDrawSurfaceImpl_Flip(IDirectDrawSurface7 *iface,
* Params:
* Params:
* DestRect: Destination rectangle, can be NULL
* DestRect: Destination rectangle, can be NULL
* SrcSurface: Source surface, can be NULL
* SrcSurface: Source surface, can be NULL
* SrcRect: Source rectange, can be NULL
* SrcRect: Source rectang
l
e, can be NULL
* Flags: Blt flags
* Flags: Blt flags
* DDBltFx: Some extended blt parameters, connected to the flags
* DDBltFx: Some extended blt parameters, connected to the flags
*
*
...
...
dlls/ddraw/tests/visual.c
View file @
4c8e2182
...
@@ -1072,7 +1072,7 @@ static void D3D1_TextureMapBlendTest(void)
...
@@ -1072,7 +1072,7 @@ static void D3D1_TextureMapBlendTest(void)
{
0
.
0
f
,
480
.
0
f
,
0
.
0
f
,
1
.
0
f
,
0x008000ff
,
0
,
0
.
0
f
,
1
.
0
f
}
{
0
.
0
f
,
480
.
0
f
,
0
.
0
f
,
1
.
0
f
,
0x008000ff
,
0
,
0
.
0
f
,
1
.
0
f
}
};
};
/* 1) Test alpha with DDPF_ALPHAPIXELS texture - should be
be
taken from texture alpha channel*/
/* 1) Test alpha with DDPF_ALPHAPIXELS texture - should be taken from texture alpha channel*/
memset
(
&
ddsd
,
0
,
sizeof
(
ddsd
));
memset
(
&
ddsd
,
0
,
sizeof
(
ddsd
));
ddsd
.
dwSize
=
sizeof
(
ddsd
);
ddsd
.
dwSize
=
sizeof
(
ddsd
);
ddsd
.
dwFlags
=
DDSD_CAPS
|
DDSD_HEIGHT
|
DDSD_WIDTH
|
DDSD_PIXELFORMAT
;
ddsd
.
dwFlags
=
DDSD_CAPS
|
DDSD_HEIGHT
|
DDSD_WIDTH
|
DDSD_PIXELFORMAT
;
...
@@ -1199,7 +1199,7 @@ static void D3D1_TextureMapBlendTest(void)
...
@@ -1199,7 +1199,7 @@ static void D3D1_TextureMapBlendTest(void)
blue
=
(
color
&
0x000000ff
);
blue
=
(
color
&
0x000000ff
);
ok
(
red
==
0
&&
green
==
0
&&
blue
==
0xff
,
"Got color %08x, expected 000000ff or near
\n
"
,
color
);
ok
(
red
==
0
&&
green
==
0
&&
blue
==
0xff
,
"Got color %08x, expected 000000ff or near
\n
"
,
color
);
/* 2) Test alpha with texture that has no alpha channel - alpha should be
be
taken from diffuse color */
/* 2) Test alpha with texture that has no alpha channel - alpha should be taken from diffuse color */
if
(
Texture
)
IDirect3DTexture_Release
(
Texture
);
if
(
Texture
)
IDirect3DTexture_Release
(
Texture
);
Texture
=
NULL
;
Texture
=
NULL
;
if
(
TexSurface
)
IDirectDrawSurface_Release
(
TexSurface
);
if
(
TexSurface
)
IDirectDrawSurface_Release
(
TexSurface
);
...
...
dlls/localspl/localspl_main.c
View file @
4c8e2182
...
@@ -193,7 +193,7 @@ static LONG copy_servername_from_name(LPCWSTR name, LPWSTR target)
...
@@ -193,7 +193,7 @@ static LONG copy_servername_from_name(LPCWSTR name, LPWSTR target)
if
((
name
[
0
]
!=
'\\'
)
||
(
name
[
1
]
!=
'\\'
))
return
0
;
if
((
name
[
0
]
!=
'\\'
)
||
(
name
[
1
]
!=
'\\'
))
return
0
;
server
=
&
name
[
2
];
server
=
&
name
[
2
];
/* skip over both backslash, find sep
erator '\'
*/
/* skip over both backslash, find sep
arator '\'
*/
ptr
=
strchrW
(
server
,
'\\'
);
ptr
=
strchrW
(
server
,
'\\'
);
serverlen
=
(
ptr
)
?
ptr
-
server
:
lstrlenW
(
server
);
serverlen
=
(
ptr
)
?
ptr
-
server
:
lstrlenW
(
server
);
...
...
dlls/msxml3/docfrag.c
View file @
4c8e2182
...
@@ -70,7 +70,7 @@ static HRESULT WINAPI domfrag_QueryInterface(
...
@@ -70,7 +70,7 @@ static HRESULT WINAPI domfrag_QueryInterface(
}
}
else
else
{
{
FIXME
(
"Unsupported inte
fer
ace %s
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"Unsupported inte
rf
ace %s
\n
"
,
debugstr_guid
(
riid
));
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/msxml3/entityref.c
View file @
4c8e2182
...
@@ -70,7 +70,7 @@ static HRESULT WINAPI entityref_QueryInterface(
...
@@ -70,7 +70,7 @@ static HRESULT WINAPI entityref_QueryInterface(
}
}
else
else
{
{
FIXME
(
"Unsupported inte
fer
ace %s
\n
"
,
debugstr_guid
(
riid
));
FIXME
(
"Unsupported inte
rf
ace %s
\n
"
,
debugstr_guid
(
riid
));
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
...
dlls/ole32/stg_bigblockfile.c
View file @
4c8e2182
...
@@ -358,7 +358,7 @@ void BIGBLOCKFILE_SetSize(LPBIGBLOCKFILE This, ULARGE_INTEGER newSize)
...
@@ -358,7 +358,7 @@ void BIGBLOCKFILE_SetSize(LPBIGBLOCKFILE This, ULARGE_INTEGER newSize)
/*
/*
* unmap all views, must be done before call to SetEndFile
* unmap all views, must be done before call to SetEndFile
*
*
* Just ditch the victim list because there is no guar
e
ntee we will need them
* Just ditch the victim list because there is no guar
a
ntee we will need them
* and it is not worth the performance hit to unmap and remap them all.
* and it is not worth the performance hit to unmap and remap them all.
*/
*/
BIGBLOCKFILE_DeleteList
(
This
,
This
->
victimhead
);
BIGBLOCKFILE_DeleteList
(
This
,
This
->
victimhead
);
...
...
dlls/urlmon/tests/stream.c
View file @
4c8e2182
...
@@ -167,7 +167,7 @@ static HRESULT WINAPI statusclb_OnProgress(IBindStatusCallback *iface, ULONG ulP
...
@@ -167,7 +167,7 @@ static HRESULT WINAPI statusclb_OnProgress(IBindStatusCallback *iface, ULONG ulP
ok
(
szStatusText
!=
NULL
,
"szStatusText == NULL
\n
"
);
ok
(
szStatusText
!=
NULL
,
"szStatusText == NULL
\n
"
);
break
;
break
;
default:
default:
todo_wine
{
ok
(
0
,
"unexpe
x
ted code %d
\n
"
,
ulStatusCode
);
}
todo_wine
{
ok
(
0
,
"unexpe
c
ted code %d
\n
"
,
ulStatusCode
);
}
};
};
return
S_OK
;
return
S_OK
;
}
}
...
...
dlls/urlmon/tests/url.c
View file @
4c8e2182
...
@@ -1226,7 +1226,7 @@ static HRESULT WINAPI statusclb_OnProgress(IBindStatusCallback *iface, ULONG ulP
...
@@ -1226,7 +1226,7 @@ static HRESULT WINAPI statusclb_OnProgress(IBindStatusCallback *iface, ULONG ulP
ok
(
szStatusText
==
NULL
,
"Expected szStatusText to be NULL
\n
"
);
ok
(
szStatusText
==
NULL
,
"Expected szStatusText to be NULL
\n
"
);
break
;
break
;
default:
default:
ok
(
0
,
"unexpe
x
ted code %d
\n
"
,
ulStatusCode
);
ok
(
0
,
"unexpe
c
ted code %d
\n
"
,
ulStatusCode
);
};
};
return
S_OK
;
return
S_OK
;
}
}
...
...
include/wine/mscvpdb.h
View file @
4c8e2182
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
* For the evolution of types, the need of the second flavor was the
* For the evolution of types, the need of the second flavor was the
* number of types to be defined (limited to 0xFFFF, including the C
* number of types to be defined (limited to 0xFFFF, including the C
* basic types); the need of the third flavor is the increase of
* basic types); the need of the third flavor is the increase of
* symbol size (to be greate
d
than 256), which was likely needed for
* symbol size (to be greate
r
than 256), which was likely needed for
* complex C++ types (nested + templates).
* complex C++ types (nested + templates).
*
*
* It's somehow difficult to represent the layout of those types on
* It's somehow difficult to represent the layout of those types on
...
...
programs/cmd/builtins.c
View file @
4c8e2182
...
@@ -1525,7 +1525,7 @@ void WCMD_rename (void) {
...
@@ -1525,7 +1525,7 @@ void WCMD_rename (void) {
part otherwise use supplied name. This supports:
part otherwise use supplied name. This supports:
ren *.fred *.jim
ren *.fred *.jim
ren jim.* fred.* etc
ren jim.* fred.* etc
However, windows has a more complex algorith
u
m supporting eg
However, windows has a more complex algorithm supporting eg
?'s and *'s mid name */
?'s and *'s mid name */
dotSrc
=
strchrW
(
fd
.
cFileName
,
'.'
);
dotSrc
=
strchrW
(
fd
.
cFileName
,
'.'
);
...
...
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