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:
smontagu%netscape.com 2003-02-18 00:05:20 +00:00
Родитель 20e7288874
Коммит e7a54f070e
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -766,7 +766,10 @@ PRBool CopyFontCharSetMapXlib(nsFontMetricsXlibContext *aFmctx)
if (!s) if (!s)
return PR_FALSE; 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[1] = (nsFontCharSetMapXlib *)ALIGN_PTR(s); s += size1[1];
copy[2] = (nsFontCharSetMapXlib *)ALIGN_PTR(s); s += size1[2]; copy[2] = (nsFontCharSetMapXlib *)ALIGN_PTR(s); s += size1[2];
langgroup = (nsFontLangGroupXlib *)ALIGN_PTR(s); s += size2[0] + size2[1] + size2[2]; langgroup = (nsFontLangGroupXlib *)ALIGN_PTR(s); s += size2[0] + size2[1] + size2[2];