Diff for /np2/mona/fontmng.c between versions 1.1 and 1.2

version 1.1, 2005/02/04 05:45:46 version 1.2, 2005/02/12 12:13:58
Line 82  static void getfont1(FNTMNG fhdl, FNTDAT Line 82  static void getfont1(FNTMNG fhdl, FNTDAT
                                                                                         const char *string, int length) {                                                                                          const char *string, int length) {
   
         int             c;          int             c;
 const BYTE      *src;  const UINT8     *src;
         int             width;          int             width;
         BYTE    *dst;          UINT8   *dst;
         int             x;          int             x;
         int             y;          int             y;
   
Line 95  const BYTE *src; Line 95  const BYTE *src;
         src = ankfont + (c * ANKFONTSIZE);          src = ankfont + (c * ANKFONTSIZE);
         width = *src++;          width = *src++;
         setfdathead(fhdl, fdat, width);          setfdathead(fhdl, fdat, width);
         dst = (BYTE *)(fdat + 1);          dst = (UINT8 *)(fdat + 1);
         ZeroMemory(dst, fdat->width * fdat->height);          ZeroMemory(dst, fdat->width * fdat->height);
         dst += ((fdat->height - ANKFONTSIZE) / 2) * fdat->width;          dst += ((fdat->height - ANKFONTSIZE) / 2) * fdat->width;
         dst += (fdat->width - width) / 2;          dst += (fdat->width - width) / 2;

Removed from v.1.1  
changed lines
  Added in v.1.2


RetroPC.NET-CVS <cvs@retropc.net>