changeset 1969:6c14daf92033

[project @ 1996-02-17 22:54:26 by jwe]
author jwe
date Sat, 17 Feb 1996 22:54:26 +0000
parents a2e206524aa0
children f10f66467390
files src/oct-hist.cc
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/oct-hist.cc
+++ b/src/oct-hist.cc
@@ -107,7 +107,10 @@
   if (file.empty ())
     {
       if (! home_directory.empty ())
-	file = home_directory.append ("/.octave_hist");
+	{
+	  file = home_directory;
+	  file.append ("/.octave_hist");
+	}
       else
 	file = ".octave_hist";
     }