[Scummvm-git-logs] scummvm master -> 4d855ff6c007852a830ba380c0d23462a0ee016f

SupSuper supsuper at gmail.com
Tue Jul 21 06:11:25 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
4d855ff6c0 COMMON: Fix warning from incorrect parameter type in fribidi call


Commit: 4d855ff6c007852a830ba380c0d23462a0ee016f
    https://github.com/scummvm/scummvm/commit/4d855ff6c007852a830ba380c0d23462a0ee016f
Author: SupSuper (supsuper at gmail.com)
Date: 2020-07-21T07:11:09+01:00

Commit Message:
COMMON: Fix warning from incorrect parameter type in fribidi call

fribidi_log2vis takes a FriBidiParType, not a FriBidiCharType
(though the values are identical)

Changed paths:
    common/unicode-bidi.cpp


diff --git a/common/unicode-bidi.cpp b/common/unicode-bidi.cpp
index c6b2642b9b..ef443ab338 100644
--- a/common/unicode-bidi.cpp
+++ b/common/unicode-bidi.cpp
@@ -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 */




More information about the Scummvm-git-logs mailing list