changeset 28906:1e28d487f0c1

maint: Use Octave convention that warning() messages don't end with a period. * graphics.cc, isosurface.m: Delete period from end of messages used in calls to warning().
author Rik <rik@octave.org>
date Tue, 13 Oct 2020 13:55:09 -0700
parents 89a425f2c202
children 11f1207111c5
files libinterp/corefcn/graphics.cc scripts/plot/draw/isosurface.m
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.cc	Tue Oct 13 13:47:55 2020 -0700
+++ b/libinterp/corefcn/graphics.cc	Tue Oct 13 13:55:09 2020 -0700
@@ -3126,7 +3126,7 @@
   hlist = figure_handle_list (true);
 
   if (hlist.numel () != 0)
-    warning ("gh_manager::close_all_figures: some graphics elements failed to close.");
+    warning ("gh_manager::close_all_figures: some graphics elements failed to close");
 
   // Clear all callback objects from our list.
 
--- a/scripts/plot/draw/isosurface.m	Tue Oct 13 13:47:55 2020 -0700
+++ b/scripts/plot/draw/isosurface.m	Tue Oct 13 13:55:09 2020 -0700
@@ -364,7 +364,7 @@
       error ("isosurface: COL must match the size of V")
     endif
     if (nout == 2)
-      warning ("isosurface: colors will be calculated, but no output argument to receive it.");
+      warning ("isosurface: colors will be calculated, but no output argument to receive it");
     endif
   elseif (nout >= 3)
     error ("isosurface: COL must be passed to return C")