X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=tools%2Fctsimtext.cpp;h=0414cc94abc06ea84be1338527861bd1562525e7;hp=c7b4d532eba0a79f465781fe84d1fca9786a51ac;hb=881c50c413b78ff7eb8444c41692cc8f747d3db6;hpb=9427b763fb59d2e8b4b2cd3c5f94f621ec86fd3e diff --git a/tools/ctsimtext.cpp b/tools/ctsimtext.cpp index c7b4d53..0414cc9 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.17 2001/01/17 04:03:42 kevin Exp $ +** $Id: ctsimtext.cpp,v 1.18 2001/03/31 16:43: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.17 2001/01/17 04:03:42 kevin Exp $"; +static const char* const g_szIdStr = "$Id: ctsimtext.cpp,v 1.18 2001/03/31 16:43:20 kevin Exp $"; static const char* const s_szProgramName = "ctsimtext"; static const char* const s_szProgramName2 = "ctsimtext.exe"; static const char* const s_szProgramName3 = "ctsimtext-lam"; @@ -109,7 +109,7 @@ ctsimtext_main (int argc, char * argv[]) argv++; argc--; iReturn = processCommand (argc, argv); - } else if (argc > 1){ + } else if (argc >= 1) { iReturn = processCommand (argc, argv); } else { s_bInteractive = true;