[genius: 1/2] Fix minor typos



commit a560bcd386462a566d3bd301d4eff8ed75dcf98f
Author: Yuri Chornoivan <yurchor ukr net>
Date:   Sat May 2 11:05:45 2020 +0300

    Fix minor typos

 gtkextra/gtkplotcsurface.h | 2 +-
 gtkextra/gtkplotdata.c     | 2 +-
 src/dict.c                 | 8 ++++----
 src/dict.h                 | 8 ++++----
 src/funclib.c              | 2 +-
 src/geloutput.h            | 2 +-
 src/graphing.c             | 4 ++--
 src/matrixw.c              | 2 +-
 src/matrixw.h              | 2 +-
 src/mpwrap.c               | 4 ++--
 ve/ve-gnome.c              | 2 +-
 ve/ve-nongnome.c           | 2 +-
 12 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/gtkextra/gtkplotcsurface.h b/gtkextra/gtkplotcsurface.h
index 45479568..738cb5b0 100644
--- a/gtkextra/gtkplotcsurface.h
+++ b/gtkextra/gtkplotcsurface.h
@@ -66,7 +66,7 @@ struct _GtkPlotCSurface
 
   /* all fields below this line are for 2d contours */
   
-  GList *levels;           /* polygons corrsponding to each contour level */
+  GList *levels;           /* polygons corresponding to each contour level */
   GList *bg_triangles;     /* background triangles, drawn before the contour
                               levels, that are not cut by any contour line */
 
diff --git a/gtkextra/gtkplotdata.c b/gtkextra/gtkplotdata.c
index 26c66916..687307f8 100644
--- a/gtkextra/gtkplotdata.c
+++ b/gtkextra/gtkplotdata.c
@@ -4658,7 +4658,7 @@ gtk_plot_data_draw_star(GtkPlotData *data, gdouble x, gdouble y, gdouble size)
                         x-s2, y+s2, x+s2, y-s2);
 }
 
-  /* FIXME: if connecter none, draw points, so perhaps bad naming */
+  /* FIXME: if connector none, draw points, so perhaps bad naming */
 static void
 gtk_plot_data_connect_points(GtkPlotData *dataset, gint npoints)
 {
diff --git a/src/dict.c b/src/dict.c
index a9464e06..135a41b6 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -251,7 +251,7 @@ d_makerealfunc(GelEFunc *o,GelToken *id, gboolean use)
 }
 
 /*make real func and replace n with it, without changing n's context or id*/
-/*if use is set, we USE the original function, NULLing approriately*/
+/*if use is set, we USE the original function, NULLing appropriately*/
 void
 d_setrealfunc(GelEFunc *n,GelEFunc *fake, gboolean use)
 {
@@ -428,7 +428,7 @@ d_lookup_local(GelToken *id) /* PURE! no side effects*/
        /*the first one must be the lowest context*/
        func = id->refs->data;
        
-       /*not in currect context and we only want the currect context ones*/
+       /*not in current context and we only want the current context ones*/
        if (func->context < context.top)
                return NULL;
 
@@ -872,7 +872,7 @@ d_popcontext (void)
        }
 }
 
-/*gimme the current dictinary*/
+/*gimme the current dictionary*/
 GSList *
 d_getcontext (void)/* PURE! no side effects*/
 {
@@ -893,7 +893,7 @@ d_get_all_contexts (void)/* PURE! no side effects*/
                return context.stack;
 }
 
-/*gimme the current global dictinary*/
+/*gimme the current global dictionary*/
 GSList *
 d_getcontext_global (void)/* PURE! no side effects*/
 {
diff --git a/src/dict.h b/src/dict.h
index a440957c..526f0bf4 100644
--- a/src/dict.h
+++ b/src/dict.h
@@ -60,7 +60,7 @@ GelEFunc *d_copyfunc(GelEFunc *o);
 GelEFunc * d_makerealfunc(GelEFunc *o,GelToken *id, gboolean use);
 
 /*make real func and replace o with it, without changing o's context or id*/
-/*if use is set, we USE the original function, NULLing approriately*/
+/*if use is set, we USE the original function, NULLing appropriately*/
 void d_setrealfunc(GelEFunc *n,GelEFunc *fake, gboolean use);
 
 void d_initcontext(void);
@@ -111,17 +111,17 @@ void d_replacefunc (GelEFunc *old, GelEFunc *_new);
 /*push a new dictionary onto the context stack*/
 gboolean d_addcontext (GelEFunc *func);
 
-/*gimme the last dictinary and pop the context stack*/
+/*gimme the last dictionary and pop the context stack*/
 void d_popcontext(void);
 
-/*gimme the current dictinary*/
+/*gimme the current dictionary*/
 GSList * d_getcontext (void) G_GNUC_PURE;
 
 /* this is a list of lists of the context stack,
  * Also it is a pointer to the current context frame */
 GelContextFrame * d_get_all_contexts (void) G_GNUC_PURE;
 
-/*gimme the current global dictinary*/
+/*gimme the current global dictionary*/
 GSList * d_getcontext_global (void) G_GNUC_PURE;
 GSList * d_find_similar_globals (const char *id);
 
diff --git a/src/funclib.c b/src/funclib.c
index b01f6543..d2de16e8 100644
--- a/src/funclib.c
+++ b/src/funclib.c
@@ -1621,7 +1621,7 @@ e_op (GelCtx *ctx, GelETree * * a, gboolean *exception)
        return gel_makenum (e_cache);
 }
 
-/* Free fall accelleration */
+/* Free fall acceleration */
 static GelETree *
 Gravity_op (GelCtx *ctx, GelETree * * a, gboolean *exception)
 {
diff --git a/src/geloutput.h b/src/geloutput.h
index 5e464a41..28284f65 100644
--- a/src/geloutput.h
+++ b/src/geloutput.h
@@ -61,7 +61,7 @@ char *                gel_output_snarf_string         (GelOutput *gelo);
 const char *   gel_output_peek_string          (GelOutput *gelo);
 void           gel_output_clear_string         (GelOutput *gelo);
 
-/* set the internal gstring to the given one, usefull if you want
+/* set the internal gstring to the given one, useful if you want
    to print into your own gstring.  Just make sure to set it to
    null before the object is destroyed */
 void           gel_output_set_gstring          (GelOutput *gelo,
diff --git a/src/graphing.c b/src/graphing.c
index adc2ecd8..46958fba 100644
--- a/src/graphing.c
+++ b/src/graphing.c
@@ -6198,7 +6198,7 @@ create_lineplot_box (void)
 
 
 
-       /* set labels correclty */
+       /* set labels correctly */
        set_lineplot_labels ();
 
        g_signal_connect (G_OBJECT (function_notebook), "switch_page",
@@ -6330,7 +6330,7 @@ create_surface_box (void)
                          G_CALLBACK (surface_fit_cb_cb), NULL);
        surface_fit_cb_cb (w);
 
-       /* set labels correclty */
+       /* set labels correctly */
        set_surface_labels ();
 
        return mainbox;
diff --git a/src/matrixw.c b/src/matrixw.c
index 6eddda98..3440856c 100644
--- a/src/matrixw.c
+++ b/src/matrixw.c
@@ -554,7 +554,7 @@ gel_matrixw_set_at_least_size (GelMatrixW *m, int width, int height)
        }
 
        if (width > m->regw || height > m->regh) {
-               /* FIXME: this may be a bit inefficent */
+               /* FIXME: this may be a bit inefficient */
                gel_matrixw_make_private (m, TRUE /* kill_type_caches */);
                make_us_a_copy (m, MAX (width, m->regw),MAX (height, m->regh));
                ensure_at_least_size (m, width, height);
diff --git a/src/matrixw.h b/src/matrixw.h
index 7b0333aa..6ca8a50c 100644
--- a/src/matrixw.h
+++ b/src/matrixw.h
@@ -47,7 +47,7 @@ struct _GelMatrixW {
        guint16 cached_value_or_bool_only:1;
        guint16 value_or_bool_only:1;
 
-       /* If definately in rref form */
+       /* If definitely in rref form */
        guint16 rref:1;
 };
 
diff --git a/src/mpwrap.c b/src/mpwrap.c
index e743169d..66a1b8bd 100644
--- a/src/mpwrap.c
+++ b/src/mpwrap.c
@@ -344,7 +344,7 @@ static void mpwl_dblfac (MpwRealNum *rop, MpwRealNum *op);
 
 static gboolean mpwl_pow_q(MpwRealNum *rop,MpwRealNum *op1,MpwRealNum *op2);
 
-/*power to an unsigned long and optionaly invert the answer*/
+/*power to an unsigned long and optionally invert the answer*/
 static void mpwl_pow_ui(MpwRealNum *rop,MpwRealNum *op1,unsigned int e,
                        gboolean reverse);
 
@@ -1947,7 +1947,7 @@ mpwl_pow_q(MpwRealNum *rop,MpwRealNum *op1,MpwRealNum *op2)
        return FALSE;
 }
 
-/*power to an unsigned long and optionaly invert the answer*/
+/*power to an unsigned long and optionally invert the answer*/
 static void
 mpwl_pow_ui(MpwRealNum *rop,MpwRealNum *op1,unsigned int e, gboolean reverse)
 {
diff --git a/ve/ve-gnome.c b/ve/ve-gnome.c
index 4efe7d31..f9d61397 100644
--- a/ve/ve-gnome.c
+++ b/ve/ve-gnome.c
@@ -1,4 +1,4 @@
-/* GNOME dependant routines
+/* GNOME dependent routines
  *
  * (c) 2000 Eazel, Inc.
  * (c) 2001,2002 George Lebl
diff --git a/ve/ve-nongnome.c b/ve/ve-nongnome.c
index a702b417..ed24ac59 100644
--- a/ve/ve-nongnome.c
+++ b/ve/ve-nongnome.c
@@ -1,4 +1,4 @@
-/* GNOME dependant routines without use of gnome libs
+/* GNOME dependent routines without use of gnome libs
  *
  * (c) 2000 Eazel, Inc.
  * (c) 2001,2002 George Lebl


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]