Changeset 4d56a50 in rtems-graphics-toolkit


Ignore:
Timestamp:
Aug 19, 2012, 10:35:52 PM (7 years ago)
Author:
Alexandru-Sever Horin <alex.sever.h@…>
Branches:
master
Children:
64130b9
Parents:
fc62b78
git-author:
Alexandru-Sever Horin <alex.sever.h@…> (08/19/12 22:35:52)
git-committer:
Alexandru-Sever Horin <alex.sever.h@…> (09/11/12 07:26:45)
Message:

Corrected some bugs in t1lib font adding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • t1lib-5.1.2/lib/t1lib/t1env.c

    rfc62b78 r4d56a50  
    847847      return(-1);
    848848    }
     849    strcpy(newpath, pathname);
     850
    849851    /* Check for and handle the existing path configuration */
    850852    if (pfab_no==0) {   /* do not free the default path but establish it
     
    854856      }
    855857      else {
    856         free( T1_AFM_ptr[0]);
     858        free( T1_PFAB_ptr[0]);
    857859      }
    858860    }
     
    885887      return(-1);
    886888    }
     889    strcpy(newpath, pathname);
     890
    887891    /* Check for and handle the existing path configuration */
    888892    if (afm_no==0) {   /* do not free the default path but establish it
     
    923927      return(-1);
    924928    }
     929    strcpy(newpath, pathname);
     930
    925931    /* Check for and handle the existing path configuration */
    926932    if (enc_no==0) {    /* do not free the default path but establish it
Note: See TracChangeset for help on using the changeset viewer.