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
3b140ccb
Commit
3b140ccb
authored
Nov 17, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling fixes.
parent
30b08966
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
17 deletions
+17
-17
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+5
-5
protocol.c
dlls/mshtml/tests/protocol.c
+2
-2
compobj.c
dlls/ole32/tests/compobj.c
+2
-2
main.c
dlls/oleacc/tests/main.c
+2
-2
cursoricon.c
dlls/user32/cursoricon.c
+1
-1
commctrl.rh
include/commctrl.rh
+1
-1
regproc.c
programs/regedit/regproc.c
+4
-4
No files found.
dlls/mshtml/tests/htmldoc.c
View file @
3b140ccb
...
...
@@ -3746,27 +3746,27 @@ static void test_QueryInterface(IUnknown *unk)
qi
=
(
void
*
)
0xdeadbeef
;
hres
=
IUnknown_QueryInterface
(
unk
,
&
IID_IRunnableObject
,
(
void
**
)
&
qi
);
ok
(
hres
==
E_NOINTERFACE
,
"QueryInterface returned %08x, expected E_NOINTERFACE
\n
"
,
hres
);
ok
(
qi
==
NULL
,
"qirunnable=%p, e
z
pected NULL
\n
"
,
qi
);
ok
(
qi
==
NULL
,
"qirunnable=%p, e
x
pected NULL
\n
"
,
qi
);
qi
=
(
void
*
)
0xdeadbeef
;
hres
=
IUnknown_QueryInterface
(
unk
,
&
IID_IHTMLDOMNode
,
(
void
**
)
&
qi
);
ok
(
hres
==
E_NOINTERFACE
,
"QueryInterface returned %08x, expected E_NOINTERFACE
\n
"
,
hres
);
ok
(
qi
==
NULL
,
"qi=%p, e
z
pected NULL
\n
"
,
qi
);
ok
(
qi
==
NULL
,
"qi=%p, e
x
pected NULL
\n
"
,
qi
);
qi
=
(
void
*
)
0xdeadbeef
;
hres
=
IUnknown_QueryInterface
(
unk
,
&
IID_IHTMLDOMNode2
,
(
void
**
)
&
qi
);
ok
(
hres
==
E_NOINTERFACE
,
"QueryInterface returned %08x, expected E_NOINTERFACE
\n
"
,
hres
);
ok
(
qi
==
NULL
,
"qi=%p, e
z
pected NULL
\n
"
,
qi
);
ok
(
qi
==
NULL
,
"qi=%p, e
x
pected NULL
\n
"
,
qi
);
qi
=
(
void
*
)
0xdeadbeef
;
hres
=
IUnknown_QueryInterface
(
unk
,
&
IID_IPersistPropertyBag
,
(
void
**
)
&
qi
);
ok
(
hres
==
E_NOINTERFACE
,
"QueryInterface returned %08x, expected E_NOINTERFACE
\n
"
,
hres
);
ok
(
qi
==
NULL
,
"qi=%p, e
z
pected NULL
\n
"
,
qi
);
ok
(
qi
==
NULL
,
"qi=%p, e
x
pected NULL
\n
"
,
qi
);
qi
=
(
void
*
)
0xdeadbeef
;
hres
=
IUnknown_QueryInterface
(
unk
,
&
IID_UndocumentedScriptIface
,
(
void
**
)
&
qi
);
ok
(
hres
==
E_NOINTERFACE
,
"QueryInterface returned %08x, expected E_NOINTERFACE
\n
"
,
hres
);
ok
(
qi
==
NULL
,
"qi=%p, e
z
pected NULL
\n
"
,
qi
);
ok
(
qi
==
NULL
,
"qi=%p, e
x
pected NULL
\n
"
,
qi
);
}
static
void
init_test
(
enum
load_state_t
ls
)
{
...
...
dlls/mshtml/tests/protocol.c
View file @
3b140ccb
...
...
@@ -368,7 +368,7 @@ static void test_res_protocol(void)
sizeof
(
buf
)
/
sizeof
(
buf
[
0
]),
&
size
,
0
);
ok
(
hres
==
E_FAIL
,
"ParseUrl failed: %08x
\n
"
,
hres
);
ok
(
buf
[
0
]
==
'?'
,
"buf changed
\n
"
);
ok
(
size
==
1
,
"size=%u, e
z
pected 1
\n
"
,
size
);
ok
(
size
==
1
,
"size=%u, e
x
pected 1
\n
"
,
size
);
buf
[
0
]
=
'?'
;
hres
=
IInternetProtocolInfo_ParseUrl
(
protocol_info
,
blank_url
,
PARSE_DOMAIN
,
0
,
buf
,
...
...
@@ -664,7 +664,7 @@ static void test_about_protocol(void)
sizeof
(
buf
)
/
sizeof
(
buf
[
0
]),
&
size
,
0
);
ok
(
hres
==
E_FAIL
,
"ParseUrl failed: %08x
\n
"
,
hres
);
ok
(
buf
[
0
]
==
'?'
,
"buf changed
\n
"
);
ok
(
size
==
1
,
"size=%u, e
z
pected 1
\n
"
,
size
);
ok
(
size
==
1
,
"size=%u, e
x
pected 1
\n
"
,
size
);
buf
[
0
]
=
'?'
;
hres
=
IInternetProtocolInfo_ParseUrl
(
protocol_info
,
about_blank_url
,
PARSE_DOMAIN
,
0
,
buf
,
...
...
dlls/ole32/tests/compobj.c
View file @
3b140ccb
...
...
@@ -199,12 +199,12 @@ static void test_StringFromGUID2(void)
/* Test corner cases for buffer size */
len
=
StringFromGUID2
(
&
CLSID_StdFont
,
str
,
50
);
ok
(
len
==
39
,
"len: %d (expected 39)
\n
"
,
len
);
ok
(
!
lstrcmpiW
(
str
,
wszCLSID_StdFont
),
"string wan't equal for CLSID_StdFont
\n
"
);
ok
(
!
lstrcmpiW
(
str
,
wszCLSID_StdFont
),
"string wa
s
n't equal for CLSID_StdFont
\n
"
);
memset
(
str
,
0
,
sizeof
str
);
len
=
StringFromGUID2
(
&
CLSID_StdFont
,
str
,
39
);
ok
(
len
==
39
,
"len: %d (expected 39)
\n
"
,
len
);
ok
(
!
lstrcmpiW
(
str
,
wszCLSID_StdFont
),
"string wan't equal for CLSID_StdFont
\n
"
);
ok
(
!
lstrcmpiW
(
str
,
wszCLSID_StdFont
),
"string wa
s
n't equal for CLSID_StdFont
\n
"
);
len
=
StringFromGUID2
(
&
CLSID_StdFont
,
str
,
38
);
ok
(
len
==
0
,
"len: %d (expected 0)
\n
"
,
len
);
...
...
dlls/oleacc/tests/main.c
View file @
3b140ccb
...
...
@@ -104,7 +104,7 @@ static void test_getroletext(void)
CHAR
buff2
[
100
];
WCHAR
buff2W
[
100
];
/* NT4 and W2K don't clear the buffer on a non
existing
role in the A-call */
/* NT4 and W2K don't clear the buffer on a non
existent
role in the A-call */
memset
(
buff2
,
0
,
sizeof
(
buff2
));
ret
=
GetRoleTextA
(
role
,
NULL
,
0
);
...
...
@@ -118,7 +118,7 @@ static void test_getroletext(void)
ok
(
ret
==
lstrlenA
(
buff2
),
"GetRoleTextA: returned length doesn't match returned buffer for role %d
\n
"
,
role
);
/* Win98 and WinMe don't clear the buffer on a non
existing
role in the W-call */
/* Win98 and WinMe don't clear the buffer on a non
existent
role in the W-call */
memset
(
buff2W
,
0
,
sizeof
(
buff2W
));
ret
=
GetRoleTextW
(
role
,
NULL
,
0
);
...
...
dlls/user32/cursoricon.c
View file @
3b140ccb
...
...
@@ -1005,7 +1005,7 @@ static HCURSOR CURSORICON_CreateIconFromANI( const LPBYTE bits, DWORD bits_size,
* cursors and then update user32 and winex11.drv to load all frames.
*
* Hopefully this will at least make some games (C&C3, etc.) more playable
* in the mean
time.
* in the meantime.
*/
FIXME
(
"Loading all frames for .ani cursors not implemented.
\n
"
);
icon_data
=
fram_chunk
.
data
+
(
2
*
sizeof
(
DWORD
));
...
...
include/commctrl.rh
View file @
3b140ccb
...
...
@@ -164,7 +164,7 @@
#define ACS_AUTOPLAY 0x0004
#define ACS_TIMER 0x0008
/* Month Calend
e
r Control */
/* Month Calend
a
r Control */
#define MCS_DAYSTATE 0x0001
#define MCS_MULTISELECT 0x0002
#define MCS_WEEKNUMBERS 0x0004
...
...
programs/regedit/regproc.c
View file @
3b140ccb
...
...
@@ -67,7 +67,7 @@ if (!(p)) \
}
/******************************************************************************
* Allocates memory and convers input from multibyte to wide chars
* Allocates memory and conver
t
s input from multibyte to wide chars
* Returned string must be freed by the caller
*/
WCHAR
*
GetWideString
(
const
char
*
strA
)
...
...
@@ -86,7 +86,7 @@ WCHAR* GetWideString(const char* strA)
}
/******************************************************************************
* Allocates memory and convers input from multibyte to wide chars
* Allocates memory and conver
t
s input from multibyte to wide chars
* Returned string must be freed by the caller
*/
WCHAR
*
GetWideStringN
(
const
char
*
strA
,
int
chars
,
DWORD
*
len
)
...
...
@@ -106,7 +106,7 @@ WCHAR* GetWideStringN(const char* strA, int chars, DWORD *len)
}
/******************************************************************************
* Allocates memory and convers input from wide chars to multibyte
* Allocates memory and conver
t
s input from wide chars to multibyte
* Returned string must be freed by the caller
*/
char
*
GetMultiByteString
(
const
WCHAR
*
strW
)
...
...
@@ -125,7 +125,7 @@ char* GetMultiByteString(const WCHAR* strW)
}
/******************************************************************************
* Allocates memory and convers input from wide chars to multibyte
* Allocates memory and conver
t
s input from wide chars to multibyte
* Returned string must be freed by the caller
*/
char
*
GetMultiByteStringN
(
const
WCHAR
*
strW
,
int
chars
,
DWORD
*
len
)
...
...
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