diff liboctave/lo-array-gripes.cc @ 11590:4ced6b90fffb

style fixes for warning and error messages in source files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 18:43:39 -0500
parents 12df7854fa7c
children 72c96de7a403
line wrap: on
line diff
--- a/liboctave/lo-array-gripes.cc	Thu Jan 20 18:26:09 2011 -0500
+++ b/liboctave/lo-array-gripes.cc	Thu Jan 20 18:43:39 2011 -0500
@@ -130,7 +130,7 @@
   const char *err_id = error_id_invalid_index;
 
   (*current_liboctave_error_with_id_handler)
-    (err_id, "subscript indices must be either positive integers or logicals.");
+    (err_id, "subscript indices must be either positive integers or logicals");
 }
 
 // FIXME -- the following is a common error message to resize,
@@ -145,7 +145,7 @@
 {
   (*current_liboctave_error_with_id_handler)
     ("Octave:invalid-resize",
-     "Invalid resizing operation or ambiguous assignment to an out-of-bounds array element.");
+     "Invalid resizing operation or ambiguous assignment to an out-of-bounds array element");
 }
 
 void