~ubuntu-branches/ubuntu/maverick/atlc/maverick

« back to all changes in this revision

Viewing changes to src/non_gui/create_bmp_for_microstrip_coupler.c

  • Committer: Bazaar Package Importer
  • Author(s): Bdale Garbee
  • Date: 2005-06-03 04:53:28 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050603045328-pohnuy5yryiv9s6o
Tags: 4.6.0-1
* new upstream version
* move make check from binary to build target so it doesn't run as root
* lose --with-threads from configure call, since it causes regression suite
  to fail many tests and upstream's README.threads is discouraging
* various tweaks to make lintian happier

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
19
19
USA.
20
20
 
21
 
Dr. David Kirkby, e-mail drkirkby@ntlworld.com 
 
21
Dr. David Kirkby, e-mail drkirkby at ntlworld.com 
22
22
 
23
23
*/
24
24
 
25
25
/* The program create_bmp_for_rect_in_rect is a pre-processor for atlc. It produces bitmaps of rectangular
26
26
inner and rectangular outer */
 
27
#include "config.h"
 
28
 
27
29
 
28
30
#ifdef HAVE_STDLIB_H
29
31
#include <stdlib.h>
87
89
      convert_create_create_bmp_for_coupled_microstrip_dimensions_to_integers(&pcb);
88
90
      W=pcb.W;
89
91
      H=pcb.H;
90
 
      image_data_fp=fopen(argv[my_optind+7],"w");
 
92
      image_data_fp=fopen(argv[my_optind+7],"wb");
91
93
        /*fprintf(stderr,"ints W=%d H=%d w=%d s=%d g=%d h=%d t=%d\n",pcb.W,pcb.H,pcb.w,pcb.s,pcb.g,pcb.h,pcb.t);*/
92
94
      write_bitmap(image_data_fp, pcb);
93
95
   }