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
02d30df0
Commit
02d30df0
authored
Dec 23, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Improve the stub for ScriptBreak.
parent
092edd81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
usp10.c
dlls/usp10/usp10.c
+24
-4
No files found.
dlls/usp10/usp10.c
View file @
02d30df0
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
#include "usp10.h"
#include "usp10.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "wine/unicode.h"
/**
/**
* some documentation here:
* some documentation here:
...
@@ -798,13 +799,32 @@ HRESULT WINAPI ScriptXtoCP(int iX,
...
@@ -798,13 +799,32 @@ HRESULT WINAPI ScriptXtoCP(int iX,
/***********************************************************************
/***********************************************************************
* ScriptBreak (USP10.@)
* ScriptBreak (USP10.@)
*
*
* Retrieve line break information.
*
* PARAMS
* chars [I] Array of characters.
* sa [I] String analysis.
* la [I] Array of logical attribute structures.
*
* RETURNS
* Success: S_OK
* Failure: S_FALSE
*/
*/
HRESULT
WINAPI
ScriptBreak
(
const
WCHAR
*
pwcChars
,
int
cChars
,
const
SCRIPT_ANALYSIS
*
psa
,
HRESULT
WINAPI
ScriptBreak
(
const
WCHAR
*
chars
,
int
count
,
const
SCRIPT_ANALYSIS
*
sa
,
SCRIPT_LOGATTR
*
la
)
SCRIPT_LOGATTR
*
psla
)
{
{
FIXME
(
"(%p,%d,%p,%p): stub
\n
"
,
unsigned
int
i
;
pwcChars
,
cChars
,
psa
,
psla
);
FIXME
(
"(%p, %d, %p, %p) stub
\n
"
,
chars
,
count
,
sa
,
la
);
if
(
!
la
)
return
S_FALSE
;
for
(
i
=
0
;
i
<
count
;
i
++
)
{
memset
(
&
la
[
i
],
0
,
sizeof
(
SCRIPT_LOGATTR
));
la
[
i
].
fWhiteSpace
=
isspaceW
(
chars
[
i
]);
la
[
i
].
fCharStop
=
1
;
}
return
S_OK
;
return
S_OK
;
}
}
...
...
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