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
33ab097d
Commit
33ab097d
authored
Oct 23, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
87fc5320
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
internettransport.c
dlls/inetcomm/internettransport.c
+1
-1
mimeintl.c
dlls/inetcomm/tests/mimeintl.c
+1
-1
mimeole.c
dlls/inetcomm/tests/mimeole.c
+4
-6
No files found.
dlls/inetcomm/internettransport.c
View file @
33ab097d
...
...
@@ -35,7 +35,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
inetcomm
);
static
const
WCHAR
wszClassName
[]
=
{
'T'
,
'h'
,
'o'
,
'r'
,
'C'
,
'o'
,
'n'
,
'n'
,
'W'
,
'n'
,
'd'
,
'C'
,
'l'
,
'a'
,
's'
,
's'
,
0
}
;
static
const
WCHAR
wszClassName
[]
=
L"ThorConnWndClass"
;
#define IX_READ (WM_USER + 0)
#define IX_READLINE (WM_USER + 1)
...
...
dlls/inetcomm/tests/mimeintl.c
View file @
33ab097d
...
...
@@ -235,7 +235,7 @@ static void test_convert(void)
ULONG
read
;
PROPVARIANT
prop_in
,
prop_out
;
static
char
test_string
[]
=
"test string"
;
static
WCHAR
test_stringW
[]
=
{
't'
,
'e'
,
's'
,
't'
,
' '
,
's'
,
't'
,
'r'
,
'i'
,
'n'
,
'g'
,
0
}
;
static
WCHAR
test_stringW
[]
=
L"test string"
;
hr
=
MimeOleGetInternat
(
&
internat
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
...
...
dlls/inetcomm/tests/mimeole.c
View file @
33ab097d
...
...
@@ -826,7 +826,6 @@ static void test_mhtml_message(void)
static
void
test_MessageSetProp
(
void
)
{
static
const
char
topic
[]
=
"wine topic"
;
static
const
WCHAR
topicW
[]
=
{
'w'
,
'i'
,
'n'
,
'e'
,
' '
,
't'
,
'o'
,
'p'
,
'i'
,
'c'
,
0
};
HRESULT
hr
;
IMimeMessage
*
msg
;
IMimeBody
*
body
;
...
...
@@ -906,7 +905,7 @@ static void test_MessageSetProp(void)
if
(
hr
==
S_OK
)
{
ok
(
prop
.
vt
==
VT_LPWSTR
,
"type %d
\n
"
,
prop
.
vt
);
ok
(
!
lstrcmpW
(
prop
.
u
.
pwszVal
,
topicW
),
"got %s
\n
"
,
wine_dbgstr_w
(
prop
.
u
.
pwszVal
));
ok
(
!
lstrcmpW
(
prop
.
u
.
pwszVal
,
L"wine topic"
),
"got %s
\n
"
,
wine_dbgstr_w
(
prop
.
u
.
pwszVal
));
PropVariantClear
(
&
prop
);
}
...
...
@@ -1488,8 +1487,6 @@ static void test_mhtml_protocol_info(void)
unsigned
i
,
exlen
;
HRESULT
hres
;
static
const
WCHAR
http_url
[]
=
{
'h'
,
't'
,
't'
,
'p'
,
':'
,
'/'
,
'/'
,
't'
,
'e'
,
's'
,
't'
,
'.'
,
'o'
,
'r'
,
'g'
,
0
};
hres
=
CoCreateInstance
(
&
CLSID_IMimeHtmlProtocol
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IInternetProtocolInfo
,
(
void
**
)
&
protocol_info
);
ok
(
hres
==
S_OK
,
"Could not create protocol info: %08x
\n
"
,
hres
);
...
...
@@ -1516,8 +1513,9 @@ static void test_mhtml_protocol_info(void)
}
}
hres
=
IInternetProtocolInfo_CombineUrl
(
protocol_info
,
http_url
,
http_url
,
ICU_BROWSER_MODE
,
combined_url
,
ARRAY_SIZE
(
combined_url
),
&
combined_len
,
0
);
hres
=
IInternetProtocolInfo_CombineUrl
(
protocol_info
,
L"http://test.org"
,
L"http://test.org"
,
ICU_BROWSER_MODE
,
combined_url
,
ARRAY_SIZE
(
combined_url
),
&
combined_len
,
0
);
ok
(
hres
==
E_FAIL
,
"CombineUrl failed: %08x
\n
"
,
hres
);
IInternetProtocolInfo_Release
(
protocol_info
);
...
...
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