diff src/help.cc @ 2926:66ef74ee5d9f

[project @ 1997-05-05 03:20:52 by jwe]
author jwe
date Mon, 05 May 1997 03:40:21 +0000
parents 5ed088015839
children 5e0fe4c5d52f
line wrap: on
line diff
--- a/src/help.cc	Sat May 03 21:24:19 1997 +0000
+++ b/src/help.cc	Mon May 05 03:40:21 1997 +0000
@@ -41,6 +41,7 @@
 #include <unistd.h>
 #endif
 
+#include "oct-env.h"
 #include "str-vec.h"
 
 #include <defaults.h>
@@ -509,9 +510,10 @@
 
       if (! names.empty ())
 	{
-	  octave_stdout << "\n*** function files in "
-			<< make_absolute (dirs[i], Vcurrent_directory)
-			<< ":\n\n";
+	  string dir
+	    = octave_env::make_absolute (dirs[i], octave_env::getcwd ());
+
+	  octave_stdout << "\n*** function files in " << dir << ":\n\n";
 
 	  names.list_in_columns (octave_stdout);
 	}