changeset 20792:d0991cbd6141

maint: Remove extra spaces in if () conditionals. * gl2ps-renderer.cc, symbfact.cc, ov-base.cc, file-stat.h: Remove extra spaces in if () conditionals.
author Rik <rik@octave.org>
date Thu, 03 Dec 2015 10:46:28 -0800
parents f7084eae3318
children f7b0572fff6e
files libinterp/corefcn/gl2ps-renderer.cc libinterp/dldfcn/symbfact.cc libinterp/octave-value/ov-base.cc liboctave/system/file-stat.h
diffstat 4 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/gl2ps-renderer.cc	Thu Dec 03 10:23:38 2015 -0800
+++ b/libinterp/corefcn/gl2ps-renderer.cc	Thu Dec 03 10:46:28 2015 -0800
@@ -455,7 +455,7 @@
   // When using "tex" or when the string has only one line and no
   // special characters, use gl2ps for alignment
   if (lst.empty () || term.find ("tex") != std::string::npos
-      || (lst.size () == 1  && ! lst.front ().get_code ()))
+      || (lst.size () == 1 && ! lst.front ().get_code ()))
     {
       std::string name = fontname;
       int sz = fontsize;
--- a/libinterp/dldfcn/symbfact.cc	Thu Dec 03 10:23:38 2015 -0800
+++ b/libinterp/dldfcn/symbfact.cc	Thu Dec 03 10:46:28 2015 -0800
@@ -99,7 +99,7 @@
   octave_value_list retval;
   int nargin = args.length ();
 
-  if (nargin < 1  || nargin > 3 || nargout > 5)
+  if (nargin < 1 || nargin > 3 || nargout > 5)
     print_usage ();
 
 #ifdef HAVE_CHOLMOD
--- a/libinterp/octave-value/ov-base.cc	Thu Dec 03 10:23:38 2015 -0800
+++ b/libinterp/octave-value/ov-base.cc	Thu Dec 03 10:46:28 2015 -0800
@@ -441,7 +441,7 @@
 
   print (output_buf);
 
-  if (print_padding  && pad_after && ! Vcompact_format)
+  if (print_padding && pad_after && ! Vcompact_format)
     newline (output_buf);
 }
 
--- a/liboctave/system/file-stat.h	Thu Dec 03 10:23:38 2015 -0800
+++ b/liboctave/system/file-stat.h	Thu Dec 03 10:46:28 2015 -0800
@@ -235,7 +235,7 @@
 
   void get_stats (const std::string& n, bool force = false)
   {
-    if (n != file_name || ! initialized  || force)
+    if (n != file_name || ! initialized || force)
       {
         initialized = false;
 
@@ -293,7 +293,7 @@
 
   void get_stats (int n, bool force = false)
   {
-    if (n != fid || ! initialized  || force)
+    if (n != fid || ! initialized || force)
       {
         initialized = false;