Commit cccad5e9 authored by Curtis Rose's avatar Curtis Rose
Browse files

Fixed the error message that was produced to have line breaks so that SED would work properly.

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@6882 41f8697f-d340-4b68-9986-7bafba869bb8
parent adf10769
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ void IsisMain() {
  // Make sure the target name of the input cube and map file match.
  if (userGrp.hasKeyword("TargetName") && !icube->group("Instrument").findKeyword("TargetName").isNull()) {
    if (!PvlKeyword::stringEqual(incam->target()->name(), userGrp.findKeyword("TargetName")[0])) {
      QString msg = "The TargetName: [" + incam->target()->name() + "] of the input cube: [" + icube->fileName() + 
      QString msg = "The TargetName: [" + incam->target()->name() + "] of the input cube: [" + icube->fileName() + "\n"
                    "] does not match the TargetName: [" + userGrp.findKeyword("TargetName")[0] + "] of the map file: [" +
                    ui.GetFileName("MAP") + "].";
      throw IException(IException::User, msg, _FILEINFO_);