"more Cygwin related changes"

[email protected] Fri, 28 Jun 2002 14:45:42 -0700
Newsgroups gmane.comp.lib.ivtools.patches
Message-ID <[email protected]>
Patch:    ivtools-020628-johnston-056
For:      ivtools-1.0.4
Author:   [email protected]
Subject:  more Cygwin related changes
Requires: 

This is an intermediate patch to ivtools-1.0.4.  To apply, cd to the
top-level directory of the ivtools source tree (the directory with src
and config subdirs), and apply like this:

	patch -p0 <ThisFile

Summary of Changes:

- more Cygwin related changes

Index: IVGlyph/globals.c
diff -c IVGlyph/globals.c:1.1 IVGlyph/globals.c:1.2
*** IVGlyph/globals.c:1.1	Fri Nov  2 13:05:31 2001
--- src/IVGlyph/globals.c	Fri Jun 28 14:38:26 2002
***************
*** 201,212 ****
  	GrowBuf();
      } 
      if (mlcount == 0) {
! 	mlx[mlcount] = round(x0);
! 	mly[mlcount] = round(y0);
  	++mlcount;
      }
!     mlx[mlcount] = round(x1);
!     mly[mlcount] = round(y1);
      ++mlcount;
  }
  
--- 201,212 ----
  	GrowBuf();
      } 
      if (mlcount == 0) {
! 	mlx[mlcount] = Math::round(x0);
! 	mly[mlcount] = Math::round(y0);
  	++mlcount;
      }
!     mlx[mlcount] = Math::round(x1);
!     mly[mlcount] = Math::round(y1);
      ++mlcount;
  }
  
Index: OverlayUnidraw/ovkit.c
diff -c OverlayUnidraw/ovkit.c:1.5 OverlayUnidraw/ovkit.c:1.6
*** OverlayUnidraw/ovkit.c:1.5	Fri Jun 14 16:07:32 2002
--- src/OverlayUnidraw/ovkit.c	Fri Jun 28 14:38:34 2002
***************
*** 294,301 ****
       * These statements had to be moved down here to workaround
       * a strange cfront 3.0 bug.
       */
!     float w = round(atof(page_w) * ivinches);
!     float h = round(atof(page_h) * ivinches);
      if (page_cols && page_rows) {
        int ncols = atoi(page_cols);
        int nrows = atoi(page_rows);
--- 294,301 ----
       * These statements had to be moved down here to workaround
       * a strange cfront 3.0 bug.
       */
!     float w = Math::round(atof(page_w) * ivinches);
!     float h = Math::round(atof(page_h) * ivinches);
      if (page_cols && page_rows) {
        int ncols = atoi(page_cols);
        int nrows = atoi(page_rows);
*** /dev/null	 Fri Jun 28 14:38:46 PDT 2002
--- patches/ivtools-020628-johnston-056
*************** patches/ivtools-020628-johnston-056
*** 0 ****
--- 1 ----
+ ivtools-020628-johnston-056


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Caffeinated soap. No kidding.
http://thinkgeek.com/sf