Compile fix
This commit is contained in:
@@ -22,9 +22,9 @@ namespace lime {
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
void *mBuffer;
|
void *mBuffer;
|
||||||
int mDirection;
|
long mDirection;
|
||||||
int mScript;
|
long mScript;
|
||||||
int mLanguage;
|
long mLanguage;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ namespace lime {
|
|||||||
if (strlen (script) != 4) return;
|
if (strlen (script) != 4) return;
|
||||||
|
|
||||||
mDirection = (hb_direction_t)direction;
|
mDirection = (hb_direction_t)direction;
|
||||||
mLanguage = (int)hb_language_from_string (language, strlen (language));
|
mLanguage = (long)hb_language_from_string (language, strlen (language));
|
||||||
mScript = hb_script_from_string (script, -1);
|
mScript = hb_script_from_string (script, -1);
|
||||||
|
|
||||||
mBuffer = hb_buffer_create ();
|
mBuffer = hb_buffer_create ();
|
||||||
|
|||||||
Reference in New Issue
Block a user