diff scripts/miscellaneous/doc.m @ 6339:20c48710b2c7

[project @ 2007-02-22 18:22:24 by dbateman] ChangeLog
author dbateman
date Thu, 22 Feb 2007 18:22:24 +0000
parents b124a912d28b
children 860682863572
line wrap: on
line diff
--- a/scripts/miscellaneous/doc.m
+++ b/scripts/miscellaneous/doc.m
@@ -51,7 +51,7 @@
     endif
 
     if (ftype == 2 || ftype == 3)
-      ffile = file_in_loadpath (strcat (fname, "."));
+      ffile = which (fname);
     else
       ffile = "";
     endif