]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkFactory.cxx
First stage of 'Keyword'
[bbtk.git] / kernel / src / bbtkFactory.cxx
index 5c060075c20806d05dde4e55871ac1d4b24841b8..849ebabfc3f4f84c2403206ea7303c09d8020ba6 100644 (file)
@@ -4,8 +4,8 @@ Program:   bbtk
 Module:    $RCSfile: bbtkFactory.cxx,v $
 Language:  C++
 
-Date:      $Date: 2008/01/29 14:01:31 $
-Version:   $Revision: 1.6 $
+Date:      $Date: 2008/01/30 09:28:15 $
+Version:   $Revision: 1.7 $
                                                                                 
 
 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
@@ -319,12 +319,10 @@ namespace bbtk
           bbtkError("Use absolute or relative path name! ["<<name<<"] is an illegal name");
           return;
        }
-       
+
       // std::string path = Utilities::ExpandLibName(upath, verbose);
-       std::string path;
-       if (name[1]!= ':')  // Absolute name, under Windows
-          path = Utilities::ExpandLibName(name, verbose); // keep last item, here.
-          
+       std::string path = Utilities::ExpandLibName(name, verbose); // keep last item, here.
+         
        if (path != "")
        {
           std::string p2;