changeset 3101:f9806795b6d5

[project @ 1997-11-14 16:54:46 by jwe]
author jwe
date Fri, 14 Nov 1997 16:54:46 +0000
parents bea2f5be3eab
children 04119d7a7d84
files scripts/ChangeLog scripts/plot/__pltopt__.m
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Fri Nov 14 10:08:13 1997 +0000
+++ b/scripts/ChangeLog	Fri Nov 14 16:54:46 1997 +0000
@@ -1,3 +1,7 @@
+Fri Nov 14 10:53:11 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* plot/__pltopt__.m: Use sprintf instead of strcat when adding TITLE.
+
 Fri Oct 10 11:18:10 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* specfun/gammai.m: Avoid problems with whitespace when
--- a/scripts/plot/__pltopt__.m	Fri Nov 14 10:08:13 1997 +0000
+++ b/scripts/plot/__pltopt__.m	Fri Nov 14 16:54:46 1997 +0000
@@ -250,6 +250,6 @@
   endif
 
   if (set_key)
-    fmt = strcat (fmt, " ", TITLE, ' "', key_title, '" ');
+    fmt = sprintf ("%s %s \"%s\" ", fmt, TITLE, key_title);
   endif
 endfunction