r178: *** empty log message ***
[ctsim.git] / tools / if2img.cpp
index b00c1775f9f03093c8864d66a505b03ce53bc01e..8e6444c686bb0b0bc388d544de0622760a36405b 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: if2img.cpp,v 1.1 2000/07/13 07:01:35 kevin Exp $
+**  $Id: if2img.cpp,v 1.4 2000/08/03 09:57:29 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -48,6 +48,8 @@ static struct option my_options[] =
   {0, 0, 0, 0}
 };
 
+static const char* g_szIdStr = "$Id: if2img.cpp,v 1.4 2000/08/03 09:57:29 kevin Exp $";
+
 enum { O_AUTO_FULL, O_AUTO_STD0_1, O_AUTO_STD0_5, O_AUTO_STD1, O_AUTO_STD2, O_AUTO_STD3 };
 static const char O_AUTO_FULL_STR[]="full";
 static const char O_AUTO_STD0_1_STR[]="std0.1";
@@ -238,7 +240,7 @@ if2img_main (int argc, char *const argv[])
          break;
         case O_VERSION:
 #ifdef VERSION
-         cout << "Version " << VERSION;
+         cout << "Version " << VERSION << endl << g_szIdStr << endl;
 #else
           cout << "Unknown version number" << endl;
 #endif
@@ -357,7 +359,6 @@ if2img_main (int argc, char *const argv[])
     im.displayScaling (opt_scale, densmin, densmax);
     cout << "Press enter to continue\n";
     cio_kb_getc();
-    sgp2_close(sgp2_get_active_win());
 #endif
   }
   else