~ubuntu-branches/ubuntu/precise/libxfont/precise-updates

« back to all changes in this revision

Viewing changes to src/bitmap/pcfread.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2007-02-16 14:32:57 UTC
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20070216143257-17cvilm4gqqmfwm5
Tags: upstream-1.2.7
ImportĀ upstreamĀ versionĀ 1.2.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
468
468
    nbitmaps = pcfGetINT32(file, format);
469
469
    if (nbitmaps != nmetrics || IS_EOF(file))
470
470
        goto Bail;
471
 
    /* nmetrics is alreadt ok, so nbitmap also is */
 
471
    /* nmetrics is already ok, so nbitmap also is */
472
472
    offsets = (CARD32 *) xalloc(nbitmaps * sizeof(CARD32));
473
473
    if (!offsets) {
474
474
      pcfError("pcfReadFont(): Couldn't allocate offsets (%d*%d)\n", nbitmaps, sizeof(CARD32));