bug 224337 : fix misalgined accesss in pre-composed CCMap (on RISC architectures) : r/sr=brendan, a=dbaron

This commit is contained in:
jshin@mailaps.org
2003-12-15 00:32:16 +00:00
parent 1816a88a05
commit 9c004222db
14 changed files with 1428 additions and 1283 deletions

View File

@@ -4547,10 +4547,8 @@ nsTextFrame::EstimateNumChars(PRUint32 aAvailableWidth,
// Replaced by precompiled CCMap (see bug 180266). To update the list
// of characters, see one of files included below. As for the way
// the original list of characters was obtained by Frank Tang, see bug 54467.
static const PRUint16 gPuncCharsCCMap[] =
{
#include "punct_marks.ccmap"
};
DEFINE_CCMAP(gPuncCharsCCMap, const);
#define IsPunctuationMark(ch) (CCMAP_HAS_CHAR(gPuncCharsCCMap, ch))