r252: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 15 Dec 2000 22:07:35 +0000 (22:07 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 15 Dec 2000 22:07:35 +0000 (22:07 +0000)
libctsim/array2dfile.cpp

index 36adfbaa0017fb1447322e1a32bcbfbf2c773ce1..40be226ee82c45ec0f523f41aa4842ff57fd5c4a 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: array2dfile.cpp,v 1.17 2000/12/14 20:59:30 kevin Exp $
+**  $Id: array2dfile.cpp,v 1.18 2000/12/15 22:07:35 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
 **
 **  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
@@ -558,7 +558,7 @@ void
 Array2dFile::labelsCopy (Array2dFile& copyFile, const char* const pszId)
 {
     string id;
 Array2dFile::labelsCopy (Array2dFile& copyFile, const char* const pszId)
 {
     string id;
-    if (idStr)
+    if (pszId)
       id = pszId;
     for (unsigned int i = 0; i < copyFile.getNumLabels(); i++) {
       Array2dFileLabel l (copyFile.labelGet (i));
       id = pszId;
     for (unsigned int i = 0; i < copyFile.getNumLabels(); i++) {
       Array2dFileLabel l (copyFile.labelGet (i));