зеркало из https://github.com/mozilla/gecko-dev.git
Mozilla locks up when percent complete hits 100% when printing via Xprint. Bug 193081, author=Roland.Mainz@informatik.med.uni-giessen.de, r=jkeiser, sr=roc+moz, a=dbaron.
This commit is contained in:
Родитель
20e7288874
Коммит
e7a54f070e
|
@ -766,7 +766,10 @@ PRBool CopyFontCharSetMapXlib(nsFontMetricsXlibContext *aFmctx)
|
|||
if (!s)
|
||||
return PR_FALSE;
|
||||
|
||||
copy[0] = (nsFontCharSetMapXlib *)ALIGN_PTR(s); s += size1[0];
|
||||
/* Note that the pointer in |copy[0]| is stored in |mCharSetMap| later which
|
||||
* is finally passed to |free()| when the nsFontMetricsXlibContext destructor
|
||||
* is called. */
|
||||
copy[0] = (nsFontCharSetMapXlib *)s; s += size1[0];
|
||||
copy[1] = (nsFontCharSetMapXlib *)ALIGN_PTR(s); s += size1[1];
|
||||
copy[2] = (nsFontCharSetMapXlib *)ALIGN_PTR(s); s += size1[2];
|
||||
langgroup = (nsFontLangGroupXlib *)ALIGN_PTR(s); s += size2[0] + size2[1] + size2[2];
|
||||
|
|
Загрузка…
Ссылка в новой задаче