mirror of
https://github.com/reactos/wine.git
synced 2025-02-02 18:25:19 +00:00
usp10: Remove an unneeded check.
This commit is contained in:
parent
99d88c15ea
commit
0af0bafd6a
@ -1318,21 +1318,18 @@ HRESULT WINAPI ScriptShape(HDC hdc, SCRIPT_CACHE *psc, const WCHAR *pwcChars,
|
||||
for (i = 0; i < cChars; i++) pwOutGlyphs[i] = pwcChars[i];
|
||||
}
|
||||
|
||||
if (psva)
|
||||
/* set up a valid SCRIPT_VISATTR and LogClust for each char in this run */
|
||||
for (i = 0; i < cChars; i++)
|
||||
{
|
||||
/* set up a valid SCRIPT_VISATTR and LogClust for each char in this run */
|
||||
for (i = 0; i < cChars; i++)
|
||||
{
|
||||
/* FIXME: set to better values */
|
||||
psva[i].uJustification = (pwcChars[i] == ' ') ? SCRIPT_JUSTIFY_BLANK : SCRIPT_JUSTIFY_CHARACTER;
|
||||
psva[i].fClusterStart = 1;
|
||||
psva[i].fDiacritic = 0;
|
||||
psva[i].fZeroWidth = 0;
|
||||
psva[i].fReserved = 0;
|
||||
psva[i].fShapeReserved = 0;
|
||||
/* FIXME: set to better values */
|
||||
psva[i].uJustification = (pwcChars[i] == ' ') ? SCRIPT_JUSTIFY_BLANK : SCRIPT_JUSTIFY_CHARACTER;
|
||||
psva[i].fClusterStart = 1;
|
||||
psva[i].fDiacritic = 0;
|
||||
psva[i].fZeroWidth = 0;
|
||||
psva[i].fReserved = 0;
|
||||
psva[i].fShapeReserved = 0;
|
||||
|
||||
if (pwLogClust) pwLogClust[i] = i;
|
||||
}
|
||||
if (pwLogClust) pwLogClust[i] = i;
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user