COMMON: Fix warning from incorrect parameter type in fribidi call
fribidi_log2vis takes a FriBidiParType, not a FriBidiCharType (though the values are identical)
This commit is contained in:
parent
e4caa3d514
commit
4d855ff6c0
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ void UnicodeBiDiText::initWithU32String(const U32String &input) {
|
||||||
FriBidiChar *visual_str = new FriBidiChar[buff_length * sizeof(FriBidiChar)];
|
FriBidiChar *visual_str = new FriBidiChar[buff_length * sizeof(FriBidiChar)];
|
||||||
_log_to_vis_index = new uint32[input_size];
|
_log_to_vis_index = new uint32[input_size];
|
||||||
_vis_to_log_index = new uint32[input_size];
|
_vis_to_log_index = new uint32[input_size];
|
||||||
FriBidiCharType pbase_dir = FRIBIDI_TYPE_ON;
|
FriBidiParType pbase_dir = FRIBIDI_PAR_ON;
|
||||||
|
|
||||||
if (!fribidi_log2vis(
|
if (!fribidi_log2vis(
|
||||||
/* input */
|
/* input */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue