changeset 24514:2bee24503a13

maint: Correct some typos in code comments in color-picker.cc. * color-picker.cc: Correct "bitton" -> "button", "selct" -> "select".
author Rik <rik@octave.org>
date Thu, 04 Jan 2018 10:07:31 -0800
parents e61e26d1ede9
children 070e9b036141
files libgui/src/color-picker.cc
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/color-picker.cc	Thu Jan 04 09:52:07 2018 -0800
+++ b/libgui/src/color-picker.cc	Thu Jan 04 10:07:31 2018 -0800
@@ -31,7 +31,7 @@
 
 #include "color-picker.h"
 
-// constuctor with initial color as parameter
+// Constructor with initial color as parameter
 color_picker::color_picker (QColor old_color, QWidget *p)
   : QPushButton (p)
 {
@@ -42,7 +42,7 @@
   connect (this, SIGNAL (clicked (void)), SLOT (select_color (void)));
 }
 
-// slot for bitton clicked: selct a new color using QColorDialog
+// Slot for button clicked: select a new color using QColorDialog
 void
 color_picker::select_color (void)
 {
@@ -55,7 +55,7 @@
     }
 }
 
-// draw the button with the actual color (using a stylesheet)
+// Draw the button with the actual color (using a stylesheet)
 void
 color_picker::update_button (void)
 {