mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
gdi32: Constify some variables.
This commit is contained in:
parent
d21037519f
commit
bbd3556146
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user