r131: *** empty log message ***
[ctsim.git] / src / phm2pj.cpp
index 439fa83920e1ea8a6697cac0c9f7189f52856713..2734b2d6a94eac0a0e792ad3edd62c7e2a755145 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: phm2pj.cpp,v 1.5 2000/06/26 21:15:24 kevin Exp $
+**  $Id: phm2pj.cpp,v 1.6 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
@@ -133,7 +133,7 @@ phm2pj_main (int argc, char* argv[])
        break;
        break;
       case O_TRACE:
-       if ((opt_trace = opt_set_trace(optarg)) < 0) {
+       if ((opt_trace = convertTraceNameToID(optarg)) == TRACE_INVALID) {
          phm2pj_usage(argv[0]);
          return (1);
        }