diff scripts/deprecated/clearplot.m @ 7704:1cdb42b372e8

don't embed newline in warning messages in deprecated functions
author John W. Eaton <jwe@octave.org>
date Wed, 09 Apr 2008 12:56:48 -0400
parents 0a362fa8f3c8
children eb63fbe60fab
line wrap: on
line diff
--- a/scripts/deprecated/clearplot.m	Wed Apr 09 12:40:06 2008 -0400
+++ b/scripts/deprecated/clearplot.m	Wed Apr 09 12:56:48 2008 -0400
@@ -31,8 +31,7 @@
   if (! warned)
     warned = true;
     warning ("Octave:deprecated-function",
-        ["function clearplot () is obsolete and will be removed from a future\n",
-	       "version of Octave, please use clf instead"]);
+             "clearplot is obsolete and will be removed from a future version of Octave; please use clf instead");
   endif
 
   clf ();