Commit bbd35561 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

gdi32: Constify some variables.

parent d2103751
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment