mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
#34242 replace X font lookups on "-*-*-*-*-*-*-*-*-*-*-*-*-*-*" with "-*"
patch prepared by: Roland Mainz r=shanjian sr=brendan
This commit is contained in:
parent
2d5c5f1b8a
commit
b8248f53a0
@ -3611,7 +3611,7 @@ GetAllFontNames(void)
|
||||
if (!gGlobalList) {
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
GetFontNames("-*-*-*-*-*-*-*-*-*-*-*-*-*-*", gGlobalList);
|
||||
GetFontNames("-*", gGlobalList);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
@ -3418,7 +3418,9 @@ GetAllFontNames(void)
|
||||
if (!gGlobalList) {
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
GetFontNames("-*-*-*-*-*-*-*-*-*-*-*-*-*-*", gGlobalList);
|
||||
/* Using "-*" instead of the full-qualified "-*-*-*-*-*-*-*-*-*-*-*-*-*-*"
|
||||
* because it's faster and "smarter" - see bug 34242 for details. */
|
||||
GetFontNames("-*", gGlobalList);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user