# HG changeset patch # User jwe # Date 879526486 0 # Node ID f9806795b6d51d5a565055721950285a28733285 # Parent bea2f5be3eab706a5056d7b155a450a6deb07b7d [project @ 1997-11-14 16:54:46 by jwe] diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +Fri Nov 14 10:53:11 1997 John W. Eaton + + * plot/__pltopt__.m: Use sprintf instead of strcat when adding TITLE. + Fri Oct 10 11:18:10 1997 John W. Eaton * specfun/gammai.m: Avoid problems with whitespace when diff --git a/scripts/plot/__pltopt__.m b/scripts/plot/__pltopt__.m --- a/scripts/plot/__pltopt__.m +++ b/scripts/plot/__pltopt__.m @@ -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