Fixing bustage...
git-svn-id: svn://10.0.0.236/trunk@226937 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user