]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkTranscriptor.h
Windows compilation
[bbtk.git] / kernel / src / bbtkTranscriptor.h
index edb9eb26c94950917858dd8dd4b9e6c877feefda..97eeb56f15bfd7aa1320b6f0b389e7a9e866f968 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkTranscriptor.h,v $ $
   Language:  C++
-  Date:      $Date: 2008/02/14 11:38:59 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2008/02/14 20:23:51 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -59,7 +59,10 @@ namespace bbtk
     //void SetNoExecMode(bool b) { mNoExecMode = b; }
     void SetNoExecMode(bool b)
     {
-       m_Fp << "e->SetNoExecMode(true);" << std::endl;
+       if (b)
+          m_Fp << "  e->SetNoExecMode(true);" << std::endl;
+       else
+          m_Fp << "  e->SetNoExecMode(false);" << std::endl;       
     }
 
     bool GetNoExecMode() const { return mNoExecMode; }