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
449d2694
Commit
449d2694
authored
Oct 01, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infosoft/tests: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aacc33ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
infosoft.c
dlls/infosoft/tests/infosoft.c
+5
-10
No files found.
dlls/infosoft/tests/infosoft.c
View file @
449d2694
...
...
@@ -32,12 +32,7 @@
DEFINE_GUID
(
CLSID_wb_neutral
,
0x369647e0
,
0x17b0
,
0x11ce
,
0x99
,
0x50
,
0x00
,
0xaa
,
0x00
,
0x4b
,
0xbb
,
0x1f
);
DEFINE_GUID
(
_IID_IWordBreaker
,
0xD53552C8
,
0x77E3
,
0x101A
,
0xB5
,
0x52
,
0x08
,
0x00
,
0x2B
,
0x33
,
0xB0
,
0xE6
);
static
const
WCHAR
teststring
[]
=
{
's'
,
'q'
,
'u'
,
'a'
,
'r'
,
'e'
,
' '
,
'c'
,
'i'
,
'r'
,
'c'
,
'l'
,
'e'
,
' '
,
't'
,
'r'
,
'i'
,
'a'
,
'n'
,
'g'
,
'l'
,
'e'
,
' '
,
'b'
,
'o'
,
'x'
,
0
};
static
const
WCHAR
teststring
[]
=
L"square circle triangle box"
;
struct
expected
{
UINT
ofs
;
...
...
@@ -48,10 +43,10 @@ struct expected {
static
int
wordnum
;
static
struct
expected
testres
[]
=
{
{
0
,
6
,
{
's'
,
'q'
,
'u'
,
'a'
,
'r'
,
'e'
,
0
}
},
{
7
,
6
,
{
'c'
,
'i'
,
'r'
,
'c'
,
'l'
,
'e'
,
0
}
},
{
14
,
8
,
{
't'
,
'r'
,
'i'
,
'a'
,
'n'
,
'g'
,
'l'
,
'e'
,
0
}
},
{
23
,
3
,
{
'b'
,
'o'
,
'x'
,
0
}
},
{
0
,
6
,
L"square"
},
{
7
,
6
,
L"circle"
},
{
14
,
8
,
L"triangle"
},
{
23
,
3
,
L"box"
},
};
static
HRESULT
WINAPI
ws_QueryInterface
(
IWordSink
*
iface
,
REFIID
riid
,
void
**
ppvObject
)
...
...
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