]> Creatis software - bbtk.git/commitdiff
png:quartz windows
authorJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Thu, 30 Jul 2009 15:01:05 +0000 (15:01 +0000)
committerJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Thu, 30 Jul 2009 15:01:05 +0000 (15:01 +0000)
kernel/src/bbtkComplexBlackBox.cxx

index c5465ca142c722cd3b29eb96c87a29e16e069368..05d6923c5591a421a13a348e933c2b4250fc74d6 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkComplexBlackBox.cxx,v $
   Language:  C++
-  Date:      $Date: 2009/05/28 08:12:05 $
-  Version:   $Revision: 1.27 $
+  Date:      $Date: 2009/07/30 15:01:05 $
+  Version:   $Revision: 1.28 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -691,8 +691,14 @@ namespace bbtk
     std::string filename_dot2  ("\""   + filename_dot  + "\"");
     
 
-    std::string command1 ("dot -Tpng:quartz -o "  
+#ifdef WIN32
+       std::string command1 ("dot -Tpng -o "  
                          + filename_png2  + " " + filename_dot2 );
+#else
+       std::string command1 ("dot -Tpng:quartz -o "  
+                         + filename_png2  + " " + filename_dot2  );
+#endif
+       
     std::string command1a("dot -T cmap -o " 
                          + filename_cmap2 + " " + filename_dot2 );