diff src/ls-mat5.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 6ba430a75553
line wrap: on
line diff
--- a/src/ls-mat5.cc	Thu Jan 20 18:26:09 2011 -0500
+++ b/src/ls-mat5.cc	Thu Jan 20 18:43:39 2011 -0500
@@ -1451,10 +1451,7 @@
                       }
 
                     if (found_big_char)
-                      {
-                        warning ("load: can not read non-ASCII portions of UTF characters.");
-                        warning ("      Replacing unreadable characters with '?'.");
-                      }
+                      warning ("load: can not read non-ASCII portions of UTF characters; replacing unreadable characters with '?'");
                   }
                 else if (type == miUTF8)
                   {
@@ -1471,8 +1468,7 @@
 
                     if (utf8_multi_byte)
                       {
-                        warning ("load: can not read multi-byte encoded UTF8 characters.");
-                        warning ("      Replacing unreadable characters with '?'.");
+                        warning ("load: can not read multi-byte encoded UTF8 characters; replacing unreadable characters with '?'");
                         for (octave_idx_type i = 0; i < n; i++)
                           {
                             unsigned char a = static_cast<unsigned char> (re(i));