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
bbd35561
Commit
bbd35561
authored
Oct 11, 2010
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 12, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Constify some variables.
parent
d2103751
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
bidi.c
dlls/gdi32/bidi.c
+6
-6
No files found.
dlls/gdi32/bidi.c
View file @
bbd35561
...
...
@@ -198,9 +198,9 @@ static int resolveParagraphs(WORD *types, int cch)
Breaks a paragraph into lines
Input: Character count
Input: Array of line break flags
Character count
In/Out: Array of characters
Array of line break flags
Returns the count of characters on the first line
...
...
@@ -209,7 +209,7 @@ static int resolveParagraphs(WORD *types, int cch)
occurs after the character in pszInput[n]. Breaks before the first
character are not allowed.
------------------------------------------------------------------------*/
static
int
resolveLines
(
LPCWSTR
pszInput
,
BOOL
*
pbrk
,
int
cch
)
static
int
resolveLines
(
LPCWSTR
pszInput
,
const
BOOL
*
pbrk
,
int
cch
)
{
/* skip characters not of type LS */
int
ich
=
0
;
...
...
@@ -289,14 +289,14 @@ static void resolveWhitespace(int baselevel, const WORD *pcls, BYTE *plevel, int
Implements the Line-by-Line phases of the Unicode Bidi Algorithm
Input: Count of characters
Array of character directions
Inp/Out: Input text
Array of character directions
Array of levels
------------------------------------------------------------------------*/
static
void
BidiLines
(
int
baselevel
,
LPWSTR
pszOutLine
,
LPCWSTR
pszLine
,
WORD
*
pclsLine
,
BYTE
*
plevelLine
,
int
cchPara
,
BOOL
*
pbrk
)
static
void
BidiLines
(
int
baselevel
,
LPWSTR
pszOutLine
,
LPCWSTR
pszLine
,
const
WORD
*
pclsLine
,
BYTE
*
plevelLine
,
int
cchPara
,
const
BOOL
*
pbrk
)
{
int
cchLine
=
0
;
int
done
=
0
;
...
...
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