X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fsdf2img.c;h=f79b2cdffece117d3842f5dc5e8b0a32431608c5;hp=e51d7889bc73e4fe8a8b255b6657407bcc2d3a6c;hb=6404682526633f7f2b9a2f94071d802b7b50dd07;hpb=301180c6c8edb98580ee6657e87f5a21342b5d96 diff --git a/src/sdf2img.c b/src/sdf2img.c index e51d788..f79b2cd 100644 --- a/src/sdf2img.c +++ b/src/sdf2img.c @@ -2,8 +2,11 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: sdf2img.c,v 1.4 2000/05/24 22:50:04 kevin Exp $ +** $Id: sdf2img.c,v 1.5 2000/06/03 06:29:57 kevin Exp $ ** $Log: sdf2img.c,v $ +** Revision 1.5 2000/06/03 06:29:57 kevin +** *** empty log message *** +** ** Revision 1.4 2000/05/24 22:50:04 kevin ** Added support for new SGP library ** @@ -448,9 +451,11 @@ sdf2img_main (int argc, char *const argv[]) sdf2d_to_gif (im, out_file, opt_scale, opt_scale, densmin, densmax); #endif else if (opt_format == O_FORMAT_DISP) { - int gid = image_display_scale (im, opt_scale, densmin, densmax); +#if HAVE_SGP + image_display_scale (im, opt_scale, densmin, densmax); cio_kb_getc(); - g2_close(gid); + sgp2_close(sgp2_get_active_win()); +#endif } else {