diff scripts/plot/uigetdir.m @ 11583:c4c2cd67c440

Fixes for ui file functions, bug#32190
author Kai Habel <kai.habel@gmx.de>
date Thu, 20 Jan 2011 20:31:30 +0100
parents 8ac9687dbe9f
children c792872f8942
line wrap: on
line diff
--- a/scripts/plot/uigetdir.m
+++ b/scripts/plot/uigetdir.m
@@ -33,11 +33,10 @@
     print_usage ();
   endif
 
-  if (!ischar(init_path) || !ischar(name))
+  if (!ischar(init_path) || !ischar(dialog_name))
     error ("uigetdir: INIT_PATH and DIALOG_NAME must be string arguments");
   endif
   
-
   if (any (strcmp (available_graphics_toolkits (), "fltk")))
       if (!isdir (init_path))
         init_path = fileparts (init_path);
@@ -49,6 +48,5 @@
 
 endfunction
 
-
-%!demo 
+%!demo
 %! uigetdir(pwd, "Select Directory")