From 1be55ea0c82499e7e007fc0c1c3184af97db3a71 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Sat, 13 Jan 2001 05:02:20 +0000 Subject: [PATCH] r392: *** empty log message *** --- libctgraphics/dlgezplot.cpp | 6 +++++- libctsim/Makefile.am | 2 +- libctsim/Makefile.in | 12 ++++++------ tools/ctsimtext.cpp | 9 +++------ 4 files changed, 15 insertions(+), 14 deletions(-) diff --git a/libctgraphics/dlgezplot.cpp b/libctgraphics/dlgezplot.cpp index d59f11f..ebfab04 100644 --- a/libctgraphics/dlgezplot.cpp +++ b/libctgraphics/dlgezplot.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2001 Kevin Rosenberg ** -** $Id: dlgezplot.cpp,v 1.1 2001/01/13 04:47:50 kevin Exp $ +** $Id: dlgezplot.cpp,v 1.2 2001/01/13 05:01:15 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 @@ -25,6 +25,10 @@ ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ******************************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef HAVE_WXWINDOWS #ifdef __GNUG__ diff --git a/libctsim/Makefile.am b/libctsim/Makefile.am index 4c39287..6666cdc 100644 --- a/libctsim/Makefile.am +++ b/libctsim/Makefile.am @@ -1,5 +1,5 @@ noinst_LIBRARIES = libctsim.a -libctsim_a_SOURCES = filter.cpp scanner.cpp projections.cpp phantom.cpp imagefile.cpp backprojectors.cpp array2dfile.cpp trace.cpp procsignal.cpp reconstruct.cpp fourier.cpp globalvars.cpp dlgezplot.cpp +libctsim_a_SOURCES = filter.cpp scanner.cpp projections.cpp phantom.cpp imagefile.cpp backprojectors.cpp array2dfile.cpp trace.cpp procsignal.cpp reconstruct.cpp fourier.cpp globalvars.cpp INCLUDES=@my_includes@ diff --git a/libctsim/Makefile.in b/libctsim/Makefile.in index 4ebc7ca..07f00b9 100644 --- a/libctsim/Makefile.in +++ b/libctsim/Makefile.in @@ -91,7 +91,7 @@ wxconfig = @wxconfig@ wxlibs = @wxlibs@ noinst_LIBRARIES = libctsim.a -libctsim_a_SOURCES = filter.cpp scanner.cpp projections.cpp phantom.cpp imagefile.cpp backprojectors.cpp array2dfile.cpp trace.cpp procsignal.cpp reconstruct.cpp fourier.cpp globalvars.cpp +libctsim_a_SOURCES = filter.cpp scanner.cpp projections.cpp phantom.cpp imagefile.cpp backprojectors.cpp array2dfile.cpp trace.cpp procsignal.cpp reconstruct.cpp fourier.cpp globalvars.cpp dlgezplot.cpp INCLUDES = @my_includes@ EXTRA_DIST = Makefile.nt @@ -108,7 +108,7 @@ LIBS = @LIBS@ libctsim_a_LIBADD = libctsim_a_OBJECTS = filter.o scanner.o projections.o phantom.o \ imagefile.o backprojectors.o array2dfile.o trace.o procsignal.o \ -reconstruct.o fourier.o globalvars.o +reconstruct.o fourier.o globalvars.o dlgezplot.o AR = ar CXXFLAGS = @CXXFLAGS@ CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) @@ -121,10 +121,10 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = gtar GZIP_ENV = --best -DEP_FILES = .deps/array2dfile.P .deps/backprojectors.P .deps/filter.P \ -.deps/fourier.P .deps/globalvars.P .deps/imagefile.P .deps/phantom.P \ -.deps/procsignal.P .deps/projections.P .deps/reconstruct.P \ -.deps/scanner.P .deps/trace.P +DEP_FILES = .deps/array2dfile.P .deps/backprojectors.P \ +.deps/dlgezplot.P .deps/filter.P .deps/fourier.P .deps/globalvars.P \ +.deps/imagefile.P .deps/phantom.P .deps/procsignal.P \ +.deps/projections.P .deps/reconstruct.P .deps/scanner.P .deps/trace.P SOURCES = $(libctsim_a_SOURCES) OBJECTS = $(libctsim_a_OBJECTS) diff --git a/tools/ctsimtext.cpp b/tools/ctsimtext.cpp index 994fea0..a6f6966 100644 --- a/tools/ctsimtext.cpp +++ b/tools/ctsimtext.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ctsimtext.cpp,v 1.11 2001/01/13 04:44:47 kevin Exp $ +** $Id: ctsimtext.cpp,v 1.12 2001/01/13 05:02:20 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 @@ -45,7 +45,7 @@ extern "C" { // If linked to ctsimtext, but executed as another name, eg pjrec, then program will use that // linked name as name of function. -static const char* const g_szIdStr = "$Id: ctsimtext.cpp,v 1.11 2001/01/13 04:44:47 kevin Exp $"; +static const char* const g_szIdStr = "$Id: ctsimtext.cpp,v 1.12 2001/01/13 05:02:20 kevin Exp $"; static const char* const s_szProgramName = "ctsimtext"; static const char* const s_szProgramName2 = "ctsimtext.exe"; @@ -105,11 +105,8 @@ ctsimtext_main (int argc, char * argv[]) int iReturn = 0; if (argc > 1 && (strcmp(argv[0], fileBasename (s_szProgramName)) == 0 || strcmp(argv[0], fileBasename (s_szProgramName2)) == 0)) { - argv = &argv[1]; + argv++; argc--; - if (argc > 1 && (strcmp(argv[0], fileBasename (s_szProgramName)) == 0 || strcmp(argv[0], fileBasename (s_szProgramName2)) == 0)) { - argv = &argv[2]; - argc--; } iReturn = processCommand (argc, argv); } else if (argc > 1){ -- 2.34.1