mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fixing bustage...
This commit is contained in:
parent
e138eb3816
commit
86579561f1
@ -131,11 +131,12 @@ nsPangoLineBreaker::GetJISx4051Breaks(const PRUnichar* aText, PRUint32 aLen,
|
||||
const gchar* end = p + aUTF8.Length();
|
||||
PRUint32 u16Offset = 0;
|
||||
|
||||
static PangoLanguage* language = pango_language_from_string("en");
|
||||
|
||||
while (p < end)
|
||||
{
|
||||
PangoLogAttr* attr = attrBuffer.Elements();
|
||||
pango_get_log_attrs(p, end - p, -1, pango_language_get_default(),
|
||||
attr, attrBuffer.Length());
|
||||
pango_get_log_attrs(p, end - p, -1, language, attr, attrBuffer.Length());
|
||||
|
||||
while (p < end)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user