Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7796895b
Commit
7796895b
authored
May 15, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
May 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Fix the spelling of the Consonant_is_post_base_form() function.
parent
ec6a0fdb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
indic.c
dlls/usp10/indic.c
+6
-6
No files found.
dlls/usp10/indic.c
View file @
7796895b
...
@@ -208,7 +208,7 @@ static INT Indic_process_next_syllable( LPCWSTR input, INT cChar, INT start, INT
...
@@ -208,7 +208,7 @@ static INT Indic_process_next_syllable( LPCWSTR input, INT cChar, INT start, INT
return
parse_consonant_syllable
(
input
,
cChar
,
start
,
main
,
next
,
lex
);
return
parse_consonant_syllable
(
input
,
cChar
,
start
,
main
,
next
,
lex
);
}
}
static
BOOL
Conson
e
nt_is_post_base_form
(
HDC
hdc
,
SCRIPT_ANALYSIS
*
psa
,
ScriptCache
*
psc
,
LPCWSTR
pwChar
,
IndicSyllable
*
s
,
lexical_function
lexical
,
BOOL
modern
)
static
BOOL
Conson
a
nt_is_post_base_form
(
HDC
hdc
,
SCRIPT_ANALYSIS
*
psa
,
ScriptCache
*
psc
,
LPCWSTR
pwChar
,
IndicSyllable
*
s
,
lexical_function
lexical
,
BOOL
modern
)
{
{
if
(
is_consonant
(
lexical
(
pwChar
[
s
->
base
]))
&&
s
->
base
>
s
->
start
&&
lexical
(
pwChar
[
s
->
base
-
1
])
==
lex_Halant
)
if
(
is_consonant
(
lexical
(
pwChar
[
s
->
base
]))
&&
s
->
base
>
s
->
start
&&
lexical
(
pwChar
[
s
->
base
-
1
])
==
lex_Halant
)
{
{
...
@@ -225,7 +225,7 @@ static BOOL Consonent_is_post_base_form(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCac
...
@@ -225,7 +225,7 @@ static BOOL Consonent_is_post_base_form(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCac
return
FALSE
;
return
FALSE
;
}
}
static
BOOL
Conson
e
nt_is_below_base_form
(
HDC
hdc
,
SCRIPT_ANALYSIS
*
psa
,
ScriptCache
*
psc
,
LPCWSTR
pwChar
,
IndicSyllable
*
s
,
lexical_function
lexical
,
BOOL
modern
)
static
BOOL
Conson
a
nt_is_below_base_form
(
HDC
hdc
,
SCRIPT_ANALYSIS
*
psa
,
ScriptCache
*
psc
,
LPCWSTR
pwChar
,
IndicSyllable
*
s
,
lexical_function
lexical
,
BOOL
modern
)
{
{
if
(
is_consonant
(
lexical
(
pwChar
[
s
->
base
]))
&&
s
->
base
>
s
->
start
&&
lexical
(
pwChar
[
s
->
base
-
1
])
==
lex_Halant
)
if
(
is_consonant
(
lexical
(
pwChar
[
s
->
base
]))
&&
s
->
base
>
s
->
start
&&
lexical
(
pwChar
[
s
->
base
-
1
])
==
lex_Halant
)
{
{
...
@@ -242,7 +242,7 @@ static BOOL Consonent_is_below_base_form(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCa
...
@@ -242,7 +242,7 @@ static BOOL Consonent_is_below_base_form(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCa
return
FALSE
;
return
FALSE
;
}
}
static
BOOL
Conson
e
nt_is_pre_base_form
(
HDC
hdc
,
SCRIPT_ANALYSIS
*
psa
,
ScriptCache
*
psc
,
LPCWSTR
pwChar
,
IndicSyllable
*
s
,
lexical_function
lexical
,
BOOL
modern
)
static
BOOL
Conson
a
nt_is_pre_base_form
(
HDC
hdc
,
SCRIPT_ANALYSIS
*
psa
,
ScriptCache
*
psc
,
LPCWSTR
pwChar
,
IndicSyllable
*
s
,
lexical_function
lexical
,
BOOL
modern
)
{
{
if
(
is_consonant
(
lexical
(
pwChar
[
s
->
base
]))
&&
s
->
base
>
s
->
start
&&
lexical
(
pwChar
[
s
->
base
-
1
])
==
lex_Halant
)
if
(
is_consonant
(
lexical
(
pwChar
[
s
->
base
]))
&&
s
->
base
>
s
->
start
&&
lexical
(
pwChar
[
s
->
base
-
1
])
==
lex_Halant
)
{
{
...
@@ -259,7 +259,7 @@ static BOOL Consonent_is_pre_base_form(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCach
...
@@ -259,7 +259,7 @@ static BOOL Consonent_is_pre_base_form(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCach
return
FALSE
;
return
FALSE
;
}
}
static
BOOL
Conson
e
nt_is_ralf
(
HDC
hdc
,
SCRIPT_ANALYSIS
*
psa
,
ScriptCache
*
psc
,
LPCWSTR
pwChar
,
IndicSyllable
*
s
,
lexical_function
lexical
)
static
BOOL
Conson
a
nt_is_ralf
(
HDC
hdc
,
SCRIPT_ANALYSIS
*
psa
,
ScriptCache
*
psc
,
LPCWSTR
pwChar
,
IndicSyllable
*
s
,
lexical_function
lexical
)
{
{
if
((
lexical
(
pwChar
[
s
->
start
])
==
lex_Ra
)
&&
s
->
end
>
s
->
start
&&
lexical
(
pwChar
[
s
->
start
+
1
])
==
lex_Halant
)
if
((
lexical
(
pwChar
[
s
->
start
])
==
lex_Ra
)
&&
s
->
end
>
s
->
start
&&
lexical
(
pwChar
[
s
->
start
+
1
])
==
lex_Halant
)
return
(
SHAPE_does_GSUB_feature_apply_to_chars
(
hdc
,
psa
,
psc
,
&
pwChar
[
s
->
start
],
1
,
2
,
"rphf"
)
>
0
);
return
(
SHAPE_does_GSUB_feature_apply_to_chars
(
hdc
,
psa
,
psc
,
&
pwChar
[
s
->
start
],
1
,
2
,
"rphf"
)
>
0
);
...
@@ -273,7 +273,7 @@ static int FindBaseConsonant(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache* psc, LP
...
@@ -273,7 +273,7 @@ static int FindBaseConsonant(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache* psc, LP
BOOL
pref
=
FALSE
;
BOOL
pref
=
FALSE
;
/* remove ralf from consideration */
/* remove ralf from consideration */
if
(
Conson
e
nt_is_ralf
(
hdc
,
psa
,
psc
,
input
,
s
,
lex
))
if
(
Conson
a
nt_is_ralf
(
hdc
,
psa
,
psc
,
input
,
s
,
lex
))
{
{
s
->
ralf
=
s
->
start
;
s
->
ralf
=
s
->
start
;
s
->
start
+=
2
;
s
->
start
+=
2
;
...
@@ -290,7 +290,7 @@ static int FindBaseConsonant(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache* psc, LP
...
@@ -290,7 +290,7 @@ static int FindBaseConsonant(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache* psc, LP
}
}
}
}
while
((
blwf
=
Conson
ent_is_below_base_form
(
hdc
,
psa
,
psc
,
input
,
s
,
lex
,
modern
))
||
Consonent_is_post_base_form
(
hdc
,
psa
,
psc
,
input
,
s
,
lex
,
modern
)
||
(
pref
=
Consone
nt_is_pre_base_form
(
hdc
,
psa
,
psc
,
input
,
s
,
lex
,
modern
)))
while
((
blwf
=
Conson
ant_is_below_base_form
(
hdc
,
psa
,
psc
,
input
,
s
,
lex
,
modern
))
||
Consonant_is_post_base_form
(
hdc
,
psa
,
psc
,
input
,
s
,
lex
,
modern
)
||
(
pref
=
Consona
nt_is_pre_base_form
(
hdc
,
psa
,
psc
,
input
,
s
,
lex
,
modern
)))
{
{
if
(
blwf
&&
s
->
blwf
==
-
1
)
if
(
blwf
&&
s
->
blwf
==
-
1
)
s
->
blwf
=
s
->
base
-
1
;
s
->
blwf
=
s
->
base
-
1
;
...
...
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