X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fphm2if.cpp;h=afac8162d2ebe0fa0e4eaae64b52b67c8a3e150a;hb=03c4bc505de131323cbc70a70bdceda9229269bf;hp=a6a7e260aa50ac75fe7ae9a00204c839c5d0ae3d;hpb=2f3d6e2580db607105bb072b13e4aff453ae4495;p=ctsim.git diff --git a/src/phm2if.cpp b/src/phm2if.cpp index a6a7e26..afac816 100644 --- a/src/phm2if.cpp +++ b/src/phm2if.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: phm2if.cpp,v 1.15 2000/06/26 21:15:24 kevin Exp $ +** $Id: phm2if.cpp,v 1.16 2000/07/04 22:21:01 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 @@ -152,7 +152,7 @@ phm2if_main (int argc, char* argv[]) opt_debug = 1; break; case O_TRACE: - if ((opt_trace = opt_set_trace(optarg)) < 0) { + if ((opt_trace = convertTraceNameToID(optarg)) == TRACE_INVALID) { phm2if_usage(argv[0]); return (1); }