changeset 31980:b6ba853c70d6

maint: Remove extra spaces in front of '='. * Canvas.h, settings-dialog.cc, gl-render.cc, pt-eval.h: Remove extra spaces in front of '='.
author Rik <rik@octave.org>
date Fri, 07 Apr 2023 13:26:33 -0700
parents 1168f6aa35f8
children 61bf59bcde72
files libgui/graphics/Canvas.h libgui/src/settings-dialog.cc libinterp/corefcn/gl-render.cc libinterp/parse-tree/pt-eval.h
diffstat 4 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/graphics/Canvas.h	Fri Apr 07 12:18:51 2023 -0700
+++ b/libgui/graphics/Canvas.h	Fri Apr 07 13:26:33 2023 -0700
@@ -148,7 +148,7 @@
 
 private:
 
-  QCursor make_cursor (const QString& name, int hot_x  = -1, int hot_y = -1);
+  QCursor make_cursor (const QString& name, int hot_x = -1, int hot_y = -1);
 
   graphics_handle m_handle;
   bool m_redrawBlocked;
--- a/libgui/src/settings-dialog.cc	Fri Apr 07 12:18:51 2023 -0700
+++ b/libgui/src/settings-dialog.cc	Fri Apr 07 13:26:33 2023 -0700
@@ -401,7 +401,7 @@
     {
       QCheckBox *cb_color_mode
         = terminal_colors_box->findChild <QCheckBox *> (cs_color_mode.settings_key ());
-      bool sec_color_mode  = settings.bool_value (cs_color_mode);
+      bool sec_color_mode = settings.bool_value (cs_color_mode);
       if (cb_color_mode->isChecked () == sec_color_mode)
         {
           // color mode does not change, update colors manually
@@ -467,7 +467,7 @@
       m_ws_enable_colors->setChecked (settings.bool_value (ws_enable_colors));
       QCheckBox *cb_color_mode
         = workspace_colors_box->findChild <QCheckBox *> (ws_color_mode.settings_key ());
-      bool sec_color_mode  = settings.bool_value (ws_color_mode);
+      bool sec_color_mode = settings.bool_value (ws_color_mode);
       if (cb_color_mode->isChecked () == sec_color_mode)
         {
           // color mode does not change, update colors manually
@@ -505,7 +505,7 @@
     {
       QCheckBox *cb_color_mode
         = varedit_colors_box->findChild <QCheckBox *> (ve_color_mode.settings_key ());
-      bool sec_color_mode  = settings.bool_value (ve_color_mode);
+      bool sec_color_mode = settings.bool_value (ve_color_mode);
       if (cb_color_mode->isChecked () == sec_color_mode)
         {
           // color mode does not change, update colors manually
@@ -588,7 +588,7 @@
     {
       QCheckBox *cb_color_mode
         = group_box_editor_styles->findChild <QCheckBox *> (ed_color_mode.settings_key ());
-      bool sec_color_mode  = settings.bool_value (ed_color_mode);
+      bool sec_color_mode = settings.bool_value (ed_color_mode);
       if (cb_color_mode->isChecked () == sec_color_mode)
         {
           // color mode does not change, update colors manually
--- a/libinterp/corefcn/gl-render.cc	Fri Apr 07 12:18:51 2023 -0700
+++ b/libinterp/corefcn/gl-render.cc	Fri Apr 07 13:26:33 2023 -0700
@@ -4100,7 +4100,7 @@
   // Expect RGB data
   if (dv.ndims () == 3 && (dv(2) == 3 || dv(2) == 4))
     {
-      opengl_texture tex  = opengl_texture::create (m_glfcns, cdata);
+      opengl_texture tex = opengl_texture::create (m_glfcns, cdata);
       if (tex.is_valid ())
         {
           m_glfcns.glColor4d (1.0, 1.0, 1.0, 1.0);
--- a/libinterp/parse-tree/pt-eval.h	Fri Apr 07 12:18:51 2023 -0700
+++ b/libinterp/parse-tree/pt-eval.h	Fri Apr 07 13:26:33 2023 -0700
@@ -943,8 +943,8 @@
 
   // Echo commands as they are executed?
   //
-  //   1  ==>  echo commands read from script files
-  //   2  ==>  echo commands from functions
+  //   1 => echo commands read from script files
+  //   2 => echo commands from functions
   //
   // more than one state can be active at once.
   int m_echo;