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:
SupSuper 2020-07-21 07:11:09 +01:00
parent e4caa3d514
commit 4d855ff6c0

View file

@ -64,7 +64,7 @@ void UnicodeBiDiText::initWithU32String(const U32String &input) {
FriBidiChar *visual_str = new FriBidiChar[buff_length * sizeof(FriBidiChar)];
_log_to_vis_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(
/* input */