r254: Added binary output of projection file elements
[ctsim.git] / libctsim / array2dfile.cpp
index 40be226ee82c45ec0f523f41aa4842ff57fd5c4a..b3538da0b79f610a325c0e7c729884c325fadb70 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: array2dfile.cpp,v 1.18 2000/12/15 22:07:35 kevin Exp $
+**  $Id: array2dfile.cpp,v 1.19 2000/12/16 02:31:00 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
@@ -563,7 +563,7 @@ Array2dFile::labelsCopy (Array2dFile& copyFile, const char* const pszId)
     for (unsigned int i = 0; i < copyFile.getNumLabels(); i++) {
       Array2dFileLabel l (copyFile.labelGet (i));
       string lstr = l.getLabelString();
-      lstr = idStr + lstr;
+      lstr = id + lstr;
       l.setLabelString (lstr);
       labelAdd (l);
     }