Module: wine Branch: master Commit: bbd355614654ccf49e0180797f565c103c19a1f1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=bbd355614654ccf49e0180797f...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Mon Oct 11 22:25:15 2010 +0100
gdi32: Constify some variables.
---
dlls/gdi32/bidi.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/gdi32/bidi.c b/dlls/gdi32/bidi.c index 4ef0e99..297ce86 100644 --- a/dlls/gdi32/bidi.c +++ b/dlls/gdi32/bidi.c @@ -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;