atomsShow failed when given non existing toolbox name. 20/8720/1
Bruno JOFRET [Thu, 16 Aug 2012 15:45:23 +0000 (17:45 +0200)]
Change-Id: I3c6e50b29e07e673fc5db075e807b4d2f422dbe4

scilab/modules/atoms/macros/atomsShow.sci

index 837e189..817f8fc 100644 (file)
@@ -54,9 +54,8 @@ function atomsShow(package)
     // =========================================================================
 
     if ~atomsIsInstalled(package) & ~atomsIsPackage(package) then
-
         if isempty(package(2)) then
-            module_full_name = package;
+            module_full_name = package(1);
         else
             module_full_name = package(1)+" - "+package(2);
         end