[gimp/gimp-2-10] Misc typo fixes in plug-ins/



commit d9b102e1969a160187b10828bfbb45021bbe40b9
Author: luz.paz <luzpaz users noreply github com>
Date:   Mon Jul 15 12:25:35 2019 +0000

    Misc typo fixes in plug-ins/
    
    
    
    (cherry picked from commit c1585d609bd1e71766de85f5300aaa85000d5d27)

 plug-ins/common/cml-explorer.c                      | 2 +-
 plug-ins/common/nl-filter.c                         | 2 +-
 plug-ins/file-dds/README.dxt                        | 8 ++++----
 plug-ins/file-dds/color.h                           | 2 +-
 plug-ins/file-dds/dxt.c                             | 2 +-
 plug-ins/file-psd/psd-layer-res-load.c              | 6 +++---
 plug-ins/file-psd/psd.h                             | 6 +++---
 plug-ins/file-tiff/file-tiff-save.c                 | 4 ++--
 plug-ins/gimpressionist/repaint.c                   | 2 +-
 plug-ins/pygimp/doc/pygimp.sgml                     | 2 +-
 plug-ins/pygimp/plug-ins/spyro_plus.py              | 4 ++--
 plug-ins/script-fu/scripts/blend-anim.scm           | 2 +-
 plug-ins/script-fu/scripts/test-sphere.scm          | 2 +-
 plug-ins/script-fu/tinyscheme/MiniSCHEMETribute.txt | 2 +-
 plug-ins/script-fu/tinyscheme/hack.txt              | 2 +-
 plug-ins/selection-to-path/selection-to-path.c      | 2 +-
 16 files changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/plug-ins/common/cml-explorer.c b/plug-ins/common/cml-explorer.c
index 9ab915d80f..b09fc66999 100644
--- a/plug-ins/common/cml-explorer.c
+++ b/plug-ins/common/cml-explorer.c
@@ -29,7 +29,7 @@
  *                      Value    Time     Space
  *  Coupled-Map Lattice cont.    discrete discrete
  *  Celluar Automata    discrete discrete discrete
- *  Diffrential Eq.     cont.    cont.    cont.
+ *  Differential Eq.    cont.    cont.    cont.
  *
  *  (But this program uses a parameter: hold-rate to avoid very fast changes.
  *  Thus time is rather continuous than discrete.
diff --git a/plug-ins/common/nl-filter.c b/plug-ins/common/nl-filter.c
index 6ae0855028..3f4f302ee1 100644
--- a/plug-ins/common/nl-filter.c
+++ b/plug-ins/common/nl-filter.c
@@ -10,7 +10,7 @@
  * 1. Redistributions of source code must retain the above copyright
  *    notice, this list of conditions and the following disclaimer.
  * 2. The name of the author may not be used to endorse or promote products
- *    derived from this software withough specific prior written permission
+ *    derived from this software without specific prior written permission
  *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
diff --git a/plug-ins/file-dds/README.dxt b/plug-ins/file-dds/README.dxt
index 9de2adf7b9..5cdbb97307 100644
--- a/plug-ins/file-dds/README.dxt
+++ b/plug-ins/file-dds/README.dxt
@@ -52,9 +52,9 @@ approximation, but a quite good one.
 The loop after that determines where the 4 actually representable colors lie
 along the line. After that, you simply need to determine which of those 4
 values your current pixel's dot product is closest to. Instead of doing a
-bunch of comparisions per pixel, the code computes the points along the line
+bunch of comparisons per pixel, the code computes the points along the line
 at which the decision would change (that's c0pt, halfpt and c3pt). This would
-still require 3 comparisions; by testing the middle point - which is halfpt -
+still require 3 comparisons; by testing the middle point - which is halfpt -
 first, one point is always excluded from consideration, which reduces the
 number of compares to two in all cases. No big deal, but hey, why not :)
 
@@ -168,8 +168,8 @@ is selected per texture. That's why my original code doesn't support the
 3-color mode of DXT1 at all: I don't think it's useful in practice.
 
 Not sure if all of this is useful to you or not, but I guess it might make
-sense to at least put this in a seperate text file or whatever, because
+sense to at least put this in a separate text file or whatever, because
 otherwise it's really quite hard to see what's going on in some places.
 
 Cheers,
--Fabian "ryg" Giesen 
+-Fabian "ryg" Giesen
diff --git a/plug-ins/file-dds/color.h b/plug-ins/file-dds/color.h
index b5afa144e0..699467773d 100644
--- a/plug-ins/file-dds/color.h
+++ b/plug-ins/file-dds/color.h
@@ -46,7 +46,7 @@ RGB_to_YCoCg (unsigned char *dst, int r, int g, int b)
 static inline int
 rgb_to_luminance (int r, int g, int b)
 {
-  /* ITU-R BT.709 luma coefficents, scaled by 256 */
+  /* ITU-R BT.709 luma coefficients, scaled by 256 */
   return ((r * 54 + g * 182 + b * 20) + 128) >> 8;
 }
 
diff --git a/plug-ins/file-dds/dxt.c b/plug-ins/file-dds/dxt.c
index 65bbc5bd31..440875b453 100644
--- a/plug-ins/file-dds/dxt.c
+++ b/plug-ins/file-dds/dxt.c
@@ -219,7 +219,7 @@ dxtblock_init (dxtblock_t          *dxtb,
   dxtb->alphamask = 0;
 
   if(flags & DXT_PERCEPTUAL)
-    /* ITU-R BT.709 luma coefficents */
+    /* ITU-R BT.709 luma coefficients */
     dxtb->metric = vec4_set(0.2126f, 0.7152f, 0.0722f, 0.0f);
   else
     dxtb->metric = vec4_set(1.0f, 1.0f, 1.0f, 0.0f);
diff --git a/plug-ins/file-psd/psd-layer-res-load.c b/plug-ins/file-psd/psd-layer-res-load.c
index 3852085feb..d2207b30a8 100644
--- a/plug-ins/file-psd/psd-layer-res-load.c
+++ b/plug-ins/file-psd/psd-layer-res-load.c
@@ -111,9 +111,9 @@
  PSD_LLL_LINKED_LAYER_3   "lnk3"        -       * Linked layer 3rd key *
 
  * Merged Transparency *
- PSD_LMT_MERGE_TRANS      "Mtrn"        -       * Merged transperency save flag (?) *
- PSD_LMT_MERGE_TRANS_16   "Mt16"        -       * Merged transperency save flag 2 *
- PSD_LMT_MERGE_TRANS_32   "Mt32"        -       * Merged transperency save flag 3 *
+ PSD_LMT_MERGE_TRANS      "Mtrn"        -       * Merged transparency save flag (?) *
+ PSD_LMT_MERGE_TRANS_16   "Mt16"        -       * Merged transparency save flag 2 *
+ PSD_LMT_MERGE_TRANS_32   "Mt32"        -       * Merged transparency save flag 3 *
 
  * Filter Effects *
  PSD_LFFX_FILTER_FX       "FXid"        -       * Filter effects (?) *
diff --git a/plug-ins/file-psd/psd.h b/plug-ins/file-psd/psd.h
index b6f7c758d4..20609c87d5 100644
--- a/plug-ins/file-psd/psd.h
+++ b/plug-ins/file-psd/psd.h
@@ -143,9 +143,9 @@
 #define PSD_LLL_LINKED_LAYER_3  "lnk3"          /* Linked layer 3rd key */
 
 /* Merged Transparency */
-#define PSD_LMT_MERGE_TRANS     "Mtrn"          /* Merged transperency save flag (?) */
-#define PSD_LMT_MERGE_TRANS_16  "Mt16"          /* Merged transperency save flag 2 */
-#define PSD_LMT_MERGE_TRANS_32  "Mt32"          /* Merged transperency save flag 3 */
+#define PSD_LMT_MERGE_TRANS     "Mtrn"          /* Merged transparency save flag (?) */
+#define PSD_LMT_MERGE_TRANS_16  "Mt16"          /* Merged transparency save flag 2 */
+#define PSD_LMT_MERGE_TRANS_32  "Mt32"          /* Merged transparency save flag 3 */
 
 /* Filter Effects */
 #define PSD_LFFX_FILTER_FX      "FXid"          /* Filter effects (?) */
diff --git a/plug-ins/file-tiff/file-tiff-save.c b/plug-ins/file-tiff/file-tiff-save.c
index 96ed2862b7..9fe13078f6 100644
--- a/plug-ins/file-tiff/file-tiff-save.c
+++ b/plug-ins/file-tiff/file-tiff-save.c
@@ -961,7 +961,7 @@ save_image (GFile                  *file,
   gimp_progress_init_printf (_("Exporting '%s'"),
                              gimp_file_get_utf8_name (file));
 
-  /* Open file and write some gloabl data */
+  /* Open file and write some global data */
   tif = tiff_open (file, "w", error);
 
   if (! tif)
@@ -1059,7 +1059,7 @@ save_image (GFile                  *file,
   if (tsvals->save_thumbnail)
     save_thumbnail (tsvals, image, tif);
 
-  /* close file so we can savely let exiv2 work on it to write metadata.
+  /* close file so we can safely let exiv2 work on it to write metadata.
    * this can be simplified once multi page TIFF is supported by exiv2
    */
   TIFFFlushData (tif);
diff --git a/plug-ins/gimpressionist/repaint.c b/plug-ins/gimpressionist/repaint.c
index 742de3f890..c8eba2d18a 100644
--- a/plug-ins/gimpressionist/repaint.c
+++ b/plug-ins/gimpressionist/repaint.c
@@ -100,7 +100,7 @@ static int
 get_hue (guchar *rgb)
 {
   double h, v, temp, diff;
-  /* TODO : There seems to be some typoes in the comments here.
+  /* TODO : There seems to be some typos in the comments here.
    * Ask vidar what he meant.
    * */
   if ((rgb[0] == rgb[1]) && (rgb[0] == rgb[2])) /* Gray */
diff --git a/plug-ins/pygimp/doc/pygimp.sgml b/plug-ins/pygimp/doc/pygimp.sgml
index a3cebc0bee..41b6a579fc 100644
--- a/plug-ins/pygimp/doc/pygimp.sgml
+++ b/plug-ins/pygimp/doc/pygimp.sgml
@@ -2148,7 +2148,7 @@ main()
            <Literal>RUN-NONINTERACTIVE</Literal>) discriminates between
            user-driven or scripted calls. In the case of gimpfu-based plug-ins,
            it is automatically taken care of internally -- interactive calls
-           will dismiss all the remaning arguments, and an interface will be
+           will dismiss all the remaining arguments, and an interface will be
            presented (when possible) to the user. The plug-in core Python
            function (<Literal>echo()</Literal> in this case), never has to deal
            with it.</Para>
diff --git a/plug-ins/pygimp/plug-ins/spyro_plus.py b/plug-ins/pygimp/plug-ins/spyro_plus.py
index 13ab48479b..b221ab00f3 100644
--- a/plug-ins/pygimp/plug-ins/spyro_plus.py
+++ b/plug-ins/pygimp/plug-ins/spyro_plus.py
@@ -525,7 +525,7 @@ class AirBrushTool():
 class AbstractStrokeTool():
 
     def draw(self, layer, strokes, color=None):
-        # We need to mutiply every point by 3, because we are creating a path,
+        # We need to multiply every point by 3, because we are creating a path,
         #  where each point has two additional control points.
         control_points = []
         for i, k in zip(strokes[0::2], strokes[1::2]):
@@ -1712,7 +1712,7 @@ class SpyroWindow(gtk.Window):
 
             add_horizontal_separator(vbox)
 
-            self.progress_bar = gtk.ProgressBar()   # gimpui.ProgressBar() - causes gimppdbprogress errror 
message.
+            self.progress_bar = gtk.ProgressBar()   # gimpui.ProgressBar() - causes gimppdbprogress error 
message.
             self.progress_bar.set_size_request(-1, 30)
             vbox.add(self.progress_bar)
             self.progress_bar.show()
diff --git a/plug-ins/script-fu/scripts/blend-anim.scm b/plug-ins/script-fu/scripts/blend-anim.scm
index bcb9e95443..517b1c5d40 100644
--- a/plug-ins/script-fu/scripts/blend-anim.scm
+++ b/plug-ins/script-fu/scripts/blend-anim.scm
@@ -27,7 +27,7 @@
 ; Copyright (C) 1997-1999 Sven Neumann <sven gimp org>
 ;
 ;
-; Blends two or more layers over a backgound, so that an animation can
+; Blends two or more layers over a background, so that an animation can
 ; be saved. A minimum of three layers is required.
 
 (define (script-fu-blend-anim img
diff --git a/plug-ins/script-fu/scripts/test-sphere.scm b/plug-ins/script-fu/scripts/test-sphere.scm
index 6b7b9cc909..5d55602299 100644
--- a/plug-ins/script-fu/scripts/test-sphere.scm
+++ b/plug-ins/script-fu/scripts/test-sphere.scm
@@ -141,7 +141,7 @@
 ; Only useful in interactive mode. It will create a widget in the control
 ; dialog. The widget is a combo-box showing all enum values for the given
 ; enum type. This has to be the name of a registered enum, without the
-; "Gimp" prefix. The second parameter speficies the default value, using
+; "Gimp" prefix. The second parameter specifies the default value, using
 ; the enum value's nick.
 ;
 ; Usage:
diff --git a/plug-ins/script-fu/tinyscheme/MiniSCHEMETribute.txt 
b/plug-ins/script-fu/tinyscheme/MiniSCHEMETribute.txt
index 02ebd26c1a..185f0ecb29 100644
--- a/plug-ins/script-fu/tinyscheme/MiniSCHEMETribute.txt
+++ b/plug-ins/script-fu/tinyscheme/MiniSCHEMETribute.txt
@@ -6,7 +6,7 @@
      but it was probably ten times bigger that the program it was supposed to
      be embedded in. There would also be thorny licencing issues. 
      
-     So, the obvious thing to do was find a trully small interpreter. Forth
+     So, the obvious thing to do was find a truly small interpreter. Forth
      was a language I had once quasi-implemented, but the difficulty of
      handling dynamic data and the weirdness of the language put me off. I then
      looked around for a LISP interpreter, the next thing I knew was easy to
diff --git a/plug-ins/script-fu/tinyscheme/hack.txt b/plug-ins/script-fu/tinyscheme/hack.txt
index 695449f06f..6aba7a7dfe 100644
--- a/plug-ins/script-fu/tinyscheme/hack.txt
+++ b/plug-ins/script-fu/tinyscheme/hack.txt
@@ -54,7 +54,7 @@ X      T_LAST_SYSTEM_TYPE=14
 |         } _string;
 
      We can use _svalue to hold the actual pointer and _keynum to hold its
-     length. If we couln't reuse existing fields, we could always add other
+     length. If we couldn't reuse existing fields, we could always add other
      alternatives in union _object.
 
      We then proceed to write the function that actually makes a new block.
diff --git a/plug-ins/selection-to-path/selection-to-path.c b/plug-ins/selection-to-path/selection-to-path.c
index 81cd95b8a5..52fc849c90 100644
--- a/plug-ins/selection-to-path/selection-to-path.c
+++ b/plug-ins/selection-to-path/selection-to-path.c
@@ -82,7 +82,7 @@ static gint         sel_x1, sel_y1, sel_x2, sel_y2;
 static gint         has_sel, sel_width, sel_height;
 static SELVALS      selVals;
 static GeglSampler *sel_sampler;
-static gboolean     retVal = TRUE;  /* Toggle if cancle button clicked */
+static gboolean     retVal = TRUE;  /* Toggle if cancel button clicked */
 
 MAIN ()
 


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