Commit 147c09f1 authored by luz.paz's avatar luz.paz Committed by Michael Natterer

Bug 795161 - Misc. typo fixes in source comments and doxygen

Found via `codespell`
Follow-up to  commit 7fdb963e
parent 43974c3c
......@@ -124,7 +124,7 @@ Or if you already have a build:
If you want to check build directories even if the builds are successful, add
`--keep-build-dirs` option to your command.
If it ends successfuly, this will have built GIMP in new folders,
If it ends successfully, this will have built GIMP in new folders,
`gimp-flatpak-build-x86-64/` and `gimp-flatpak-build-i386/`
respectively.
......
#if 0
//for syntax hilighting
//for syntax highlighting
[Code]
#endif
......
;allow specific configuration files to be overriden by files in a specific directory
;allow specific configuration files to be overridden by files in a specific directory
#if 0
[Files]
#endif
......
......@@ -401,7 +401,7 @@ var
Force32bitInstall: Boolean;
asUninstInf: TArrayOfString; //uninst.inf contents (loaded at start of uninstall, exectued at the end)
asUninstInf: TArrayOfString; //uninst.inf contents (loaded at start of uninstall, executed at the end)
#include "MessageWithURL.isi"
......@@ -420,7 +420,7 @@ end;
#include "utils.isi"
//some programs inproperly install libraries to the System32 directory, which then causes problems with plugins
//some programs improperly install libraries to the System32 directory, which then causes problems with plugins
//this function checks if such file exists in System32, and lets setup update the file when it exists
function BadSysDLL(const pFile: String; const pPlatform: Integer): Boolean;
var OldRedir: Boolean;
......
......@@ -65,7 +65,7 @@ mingw_tools = {'ADDR2LINE': 'addr2line',
'STRINGS': 'strings', 'WINDRES': 'windres',
'AR': 'ar', 'RANLIB': 'ranlib', 'STRIP': 'strip'}
#Exporting all as enviroment variables with its prefix
#Exporting all as environment variables with its prefix
mingw_tools_args = str()
for tool in mingw_tools.keys():
fullpath_tool = mingw_tool_prefix + mingw_tools[tool]
......@@ -83,7 +83,7 @@ os.environ['DISPLAY'] = ''
#Added another common env var name for windres
os.environ['RC'] = os.environ['WINDRES']
#Exporting tool flags enviroment variables
#Exporting tool flags environment variables
os.environ['LDFLAGS'] = '-L'+searchprefix+'/lib'
os.environ['CFLAGS'] = '-mms-bitfields -I'+searchprefix+'/include '
os.environ['CPPFLAGS'] = '-I'+searchprefix+'/include'
......
......@@ -927,7 +927,7 @@
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+ *:NetBSD:*:*)
+ # NetBSD (nbsd) targets should (where applicable) match one or
+ # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
+ # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
+ # switched to ELF, *-*-netbsd* would select the old
+ # object file format. This provides both forward
......
......@@ -987,7 +987,7 @@ AC_SUBST(SOCKET_LIBS)
# Check for Intel vector intrinsics
###################################
intrinsics_save_CFLAGS="$CFLAGS"
#FIXME: Check the CFLAGS separatly
#FIXME: Check the CFLAGS separately
GIMP_DETECT_CFLAGS(SSE_MATH_CFLAG, '-mfpmath=sse')
GIMP_DETECT_CFLAGS(SSE2_CFLAG, '-msse2')
SSE2_EXTRA_CFLAGS="$SSE_MATH_CFLAG $SSE2_CFLAG"
......@@ -1963,7 +1963,7 @@ have_email="no (xdg-email not found)"
AC_ARG_WITH(sendmail,[ --with-sendmail[=DIR] use sendmail instead of xdg-email])
have_sendmail=no
# Sendmail must be explicitely enabled to replace xdg-email implementation.
# Sendmail must be explicitly enabled to replace xdg-email implementation.
if test "x$with_sendmail" != "x" && test "x$with_sendmail" != "xno"; then
if test "x$with_sendmail" = "xyes"; then
sendmail_path=$PATH:/usr/sbin:/usr/lib
......
......@@ -15,10 +15,10 @@ we break API/ABI for 3.x.
- Add user_data to all functions passed to gimp_widgets_init()
- Preferrably make gimp_widgets_init() take a vtable with padding.
- Preferably make gimp_widgets_init() take a vtable with padding.
- Change GIMP_CONFIG_INSTALL_PROP_FOO() macros to include the nick,
or drop them alltogether
or drop them altogether
- Change gimp_prop_foo_new() to use the nick as label, or find some
other way to use the nick.
......@@ -66,7 +66,7 @@ back to the old lcms implementation, which can be useful for comparison.
## Debugging X Window System error ##
Make X calls synchronous so that your crashs happen immediately with:
Make X calls synchronous so that your crashes happen immediately with:
> gimp-2.9 --sync
......
......@@ -48,4 +48,4 @@ Making a gih file:
Or use the GIH plug-in to save a brush pipe from an image.
Thats about it for now.
That's about it for now.
......@@ -255,7 +255,7 @@ Global data follows no strict rules.
as read from the original image.
where: XXXX is a 4-digit ascii encoded hexadecimal number
AA is a two character ascii value representing the Dicom
element's Value Represenation (VR)
element's Value Representation (VR)
5. KNOWN LAYER/DRAWABLE PARASITES
......
......@@ -179,7 +179,7 @@
<entry><filename>regexrepl</filename></entry>
<entry>
Code to handle regular expressions in case your C library does not
suport them. These files will not be used for most builds since
support them. These files will not be used for most builds since
modern libc implementation have offer support for regular
expressions.
</entry>
......
......@@ -238,7 +238,7 @@ main (int argc, char **argv)
GList *toplevels;
GList *node;
g_set_application_name ("GIMP documention shooter");
g_set_application_name ("GIMP documentation shooter");
/* If there's no DISPLAY, we silently error out.
* We don't want to break headless builds.
......
......@@ -37,7 +37,7 @@ The GimpDialogFactory can be considered to solve two distinct
problems:
1. Create widgets from text, in particular from text in sessionrc
2. Session manage toplevel windows so their position is remebered
2. Session manage toplevel windows so their position is remembered
across GIMP sessions
One possible design adjustment would be to have GimpWidgetFactory that
......
......@@ -34,7 +34,7 @@ G_BEGIN_DECLS
/**
* GimpDatafileData:
* @filename: the data file's full path.
* @dirname: the folder the data file is is.
* @dirname: the folder the data file is in.
* @basename: the data file's basename.
* @atime: the last time the file was accessed for reading.
* @mtime: the last time the file was modified.
......
......@@ -58,7 +58,7 @@
* Cause @handler to be run when @signum is delivered. We
* use sigaction(2) rather than signal(2) so that we can control the
* signal handler's environment completely via @flags: some signal(2)
* implementations differ in their sematics, so we need to nail down
* implementations differ in their semantics, so we need to nail down
* exactly what we want. [austin 06.04.2000]
*
* Returns: A reference to the signal handling function which was
......
......@@ -2,7 +2,7 @@
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* gimpwin32-io.h
* Compatibilty defines, you mostly need this as unistd.h replacement
* Compatibility defines, you mostly need this as unistd.h replacement
*
* This library is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
......
......@@ -271,7 +271,7 @@ gimp_color_profile_new_from_file (GFile *file,
/**
* gimp_color_profile_new_from_icc_profile:
* @data: pointer to memory containing an ICC profile
* @length: lenght of the profile in memory, in bytes
* @length: length of the profile in memory, in bytes
* @error: return location for #GError
*
* This function opens an ICC color profile from memory. On error,
......@@ -376,7 +376,7 @@ gimp_color_profile_new_from_lcms_profile (gpointer lcms_profile,
*
* This function saves @profile to @file as ICC profile.
*
* Return value: %TRUE on success, %FALSE if an error occured.
* Return value: %TRUE on success, %FALSE if an error occurred.
*
* Since: 2.10
**/
......@@ -594,7 +594,7 @@ gimp_color_profile_get_label (GimpColorProfile *profile)
*
* This function return a string containing a multi-line summary of
* @profile's description, model, manufacturer and copyright, to be
* used as detailled information about the profile in a user
* used as detailed information about the profile in a user
* interface.
*
* Return value: the @profile's summary. The returned value belongs to
......@@ -1159,7 +1159,7 @@ gimp_color_profile_new_rgb_srgb_linear_internal (void)
* gimp_color_profile_new_rgb_srgb_linear:
*
* This function creates a profile for babl_model("RGB"). Please
* somebody write someting smarter here.
* somebody write something smarter here.
*
* Return value: the linear RGB #GimpColorProfile.
*
......@@ -1358,7 +1358,7 @@ gimp_color_profile_new_d65_gray_linear_internal (void)
* gimp_color_profile_new_d65_gray_srgb_gray:
*
* This function creates a profile for babl_model("Y"). Please
* somebody write someting smarter here.
* somebody write something smarter here.
*
* Return value: the linear grayscale #GimpColorProfile.
*
......
......@@ -390,7 +390,7 @@ gimp_thumbnail_new (void)
*
* Sets the location of the image file associated with the #thumbnail.
*
* All informations stored in the #GimpThumbnail are reset.
* All information stored in the #GimpThumbnail is reset.
**/
void
gimp_thumbnail_set_uri (GimpThumbnail *thumbnail,
......
......@@ -318,7 +318,7 @@ endif
#
# rules to generate built sources
#
# setup autogeneration dependancies
# setup autogeneration dependencies
gen_sources = xgen-wec xgen-wmh xgen-wmc
CLEANFILES = $(gen_sources)
......
......@@ -174,7 +174,7 @@ gimp_color_selector_dispose (GObject *object)
/**
* gimp_color_selector_new:
* @selector_type: The #GType of the selector to create.
* @rgb: The inital color to be edited.
* @rgb: The initial color to be edited.
* @hsv: The same color in HSV.
* @channel: The selector's initial channel.
*
......
......@@ -30,7 +30,7 @@
*
* It relies on external unit resolving through a callback and does
* elementary dimensionality constraint check (e.g. "2 mm + 3 px * 4
* in" is an error, as L + L^2 is a missmatch). It uses setjmp/longjmp
* in" is an error, as L + L^2 is a mismatch). It uses setjmp/longjmp
* for try/catch like pattern on error, it uses g_strtod() for numeric
* conversions and it's non-destructive in terms of the parameters, and
* it's reentrant.
......@@ -155,7 +155,7 @@ static void gimp_eevl_error (GimpEevl
* @string: The NULL-terminated string to be evaluated.
* @options: Evaluations options.
* @result: Result of evaluation.
* @error_pos: Will point to the positon within the string,
* @error_pos: Will point to the position within the string,
* before which the parse / evaluation error
* occurred. Will be set to null of no error occurred.
* @error_message: Will point to a static string with a semi-descriptive
......@@ -273,7 +273,7 @@ gimp_eevl_expression (GimpEevl *eva)
{
GimpEevlQuantity new_term = gimp_eevl_term (eva);
/* If dimensions missmatch, attempt default unit assignment */
/* If dimensions mismatch, attempt default unit assignment */
if (new_term.dimension != evaluated_terms.dimension)
{
GimpEevlQuantity default_unit_factor;
......@@ -296,7 +296,7 @@ gimp_eevl_expression (GimpEevl *eva)
}
else
{
gimp_eevl_error (eva, "Dimension missmatch during addition");
gimp_eevl_error (eva, "Dimension mismatch during addition");
}
}
......
......@@ -253,7 +253,7 @@ gimp_enum_store_new_with_range (GType enum_type,
* @...: a list of enum values (exactly @n_values)
*
* Creates a new #GimpEnumStore like gimp_enum_store_new() but allows
* to explicitely list the enum values that should be added to the
* to explicitly list the enum values that should be added to the
* store.
*
* Return value: a new #GimpEnumStore.
......
......@@ -816,7 +816,7 @@ gimp_preview_invalidate (GimpPreview *preview)
* @cursor: a #GdkCursor or %NULL
*
* Sets the default mouse cursor for the preview. Note that this will
* be overriden by a %GDK_FLEUR if the preview has scrollbars, or by a
* be overridden by a %GDK_FLEUR if the preview has scrollbars, or by a
* %GDK_WATCH when the preview is invalidated.
*
* Since: 2.2
......
......@@ -213,7 +213,7 @@ static void gimp_prop_enum_check_button_notify (GObject *config,
* @property_name: Name of enum property controlled by checkbutton.
* @label: Label to give checkbutton (including mnemonic).
* @false_value: Enum value corresponding to unchecked state.
* @true_value: Enum value corresonding to checked state.
* @true_value: Enum value corresponding to checked state.
*
* Creates a #GtkCheckButton that displays and sets the specified
* property of type Enum. Note that this widget only allows two values
......
......@@ -102,7 +102,7 @@ sub generate {
}
# Find the return argument (defaults to the first arg if not
# explicity set
# explicitly set
my $retarg = undef; $retvoid = 0;
foreach (@outargs) { $retarg = $_, last if exists $_->{retval} }
unless ($retarg) {
......
......@@ -127,7 +127,7 @@ foreach $file (@groups) {
# Squash whitespace into just single spaces between words.
# Single new lines are considered as normal spaces, but n > 1 newlines are considered (n - 1) newlines.
# The sligthly complicated suite of regexp is so that \n\s+\n is still considered a double newline.
# The slightly complicated suite of regexp is so that \n\s+\n is still considered a double newline.
sub trimspace { for (${$_[0]}) { s/(\S)[\ \t\r\f]*\n[\ \t\r\f]*(\S)/$1 $2/g; s/[\ \t\r\f]+/ /gs;
s/\n(([\ \t\r\f]*\n)+)/$1/g; s/[\ \t\r\f]*\n[\ \t\r\f]/\n/g ; s/^\s+//; s/\s+$//; } }
......
......@@ -350,7 +350,7 @@ blindsapply (guchar *srow,
gint available;
/* Make the row 'shrink' around points along its length */
/* The bvals.numsegs determins how many segments to slip it in to */
/* The bvals.numsegs determines how many segments to slip it in to */
/* The angle is the conceptual 'rotation' of each of these segments */
/* Note the row is considered to be made up of a two dim array actual
......@@ -636,7 +636,7 @@ apply_blinds (GimpDrawable *drawable)
}
/* Hmmm. does this work portably? */
/* This "swaps the intergers around that are held in in the
/* This "swaps" the integers around that are held in in the
* sr & dr arrays.
*/
blindsapply ((guchar *) sr, (guchar *) dr,
......
......@@ -704,7 +704,7 @@ find_constants (gdouble n_p[],
gdouble constants [8];
gdouble div;
/* The constants used in the implemenation of a casual sequence
/* The constants used in the implementation of a casual sequence
* using a 4th order approximation of the gaussian operator
*/
......
......@@ -461,7 +461,7 @@ query (void)
"Make an image of Coupled-Map Lattice (CML). CML is "
"a kind of Cellula Automata on continuous (value) "
"domain. In GIMP_RUN_NONINTERACTIVE, the name of a "
"prameter file is passed as the 4th arg. You can "
"parameter file is passed as the 4th arg. You can "
"control CML_explorer via parameter file.",
/* Or do you want to call me with over 50 args? */
"Shuji Narazaki (narazaki@InetQ.or.jp); "
......
......@@ -80,7 +80,7 @@ typedef struct
const gchar *babl_model;
const gchar *compose_type; /* Type of composition ("RGB", "RGBA",...) */
gint num_images; /* Number of input images needed */
/* Channel informations */
/* Channel information */
const COMPONENT_DSC components[MAX_COMPOSE_IMAGES];
const gchar *filename; /* Name of new image */
......
......@@ -469,7 +469,7 @@ retinex_scales_distribution(gfloat* scales, gint nscales, gint mode, gint s)
scales[0] = (gint) s / 2;
}
else if (nscales == 2)
{ /* For two filters whe choose the median and maximum scale */
{ /* For two filters we choose the median and maximum scale */
scales[0] = (gint) s / 2;
scales[1] = (gint) s;
}
......
......@@ -401,7 +401,7 @@ p_gimp_rotate (gint32 image_id,
GIMP_PDB_IMAGE, image_id,
GIMP_PDB_DRAWABLE, drawable_id,
GIMP_PDB_INT32, l_angle_step,
GIMP_PDB_INT32, FALSE, /* dont rotate the whole image */
GIMP_PDB_INT32, FALSE, /* don't rotate the whole image */
GIMP_PDB_END);
if (return_vals[0].data.d_status == GIMP_PDB_SUCCESS)
......@@ -517,7 +517,7 @@ query (void)
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-NONINTERACTIVE (1) }" },
{ GIMP_PDB_INT32, "total-steps", "total number of steps (# of layers-1 to apply the related plug-in)" },
{ GIMP_PDB_FLOAT, "current-step", "current (for linear iterations this is the layerstack position, otherwise some value inbetween)" },
{ GIMP_PDB_FLOAT, "current-step", "current (for linear iterations this is the layerstack position, otherwise some value in between)" },
{ GIMP_PDB_INT32, "len-struct", "length of stored data structure with id is equal to the plug_in proc_name" },
};
......@@ -589,7 +589,7 @@ run (const gchar *name,
/* Get the runmode from the in-parameters */
GimpRunMode run_mode = param[0].data.d_int32;
/* status variable, use it to check for errors in invocation usualy only
/* status variable, use it to check for errors in invocation usually only
during non-interactive calling */
GimpPDBStatusType status = GIMP_PDB_SUCCESS;
......@@ -922,7 +922,7 @@ p_load_pointfile (BenderDialog *cd,
}
else
{
printf("warnig: BAD points[%d] in file %s are ignored\n", l_pi, filename);
printf("warning: BAD points[%d] in file %s are ignored\n", l_pi, filename);
}
}
l_len = strlen(KEY_VAL_Y);
......@@ -937,7 +937,7 @@ p_load_pointfile (BenderDialog *cd,
}
else
{
printf("warnig: BAD y_vals[%d] in file %s are ignored\n", l_ci, filename);
printf("warning: BAD y_vals[%d] in file %s are ignored\n", l_ci, filename);
}
}
......@@ -2483,7 +2483,7 @@ p_curve_get_dy (BenderDialog *cd,
gdouble current_step)
{
/* get y values of both upper and lower curve,
* and return the iterated value inbetween
* and return the iterated value in between
*/
gdouble l_y1, l_y2;
gdouble delta;
......@@ -3000,7 +3000,7 @@ p_vertical_bend (BenderDialog *cd,
(gint32)src_gdrw->drawable->height, (gdouble)l_y);
l_desty = l_y + l_topshift + l_curvy;
/* ----------- SMOOTING ------------------ */
/* ----------- SMOOTHING ------------------ */
if (cd->smoothing && (l_x > 0))
{
l_nb_curvy = p_curve_get_dy(cd, l_x -1,
......@@ -3136,7 +3136,7 @@ p_vertical_bend (BenderDialog *cd,
if (cd->smoothing)
{
/* smooting is on, so we are using a mixed color */
/* smoothing is on, so we are using a mixed color */
gulong alpha1 = last_arr[l_x].color[3];
gulong alpha2 = color[3];
gulong alpha;
......@@ -3156,7 +3156,7 @@ p_vertical_bend (BenderDialog *cd,
}
else
{
/* smooting is off, so we are using this color or
/* smoothing is off, so we are using this color or
the last color */
if (l_dy < l_diff / 2)
{
......
......@@ -41,7 +41,7 @@
#define PLUG_IN_ROLE "gimp-decompose"
/* Descrition of a component */
/* Description of a component */
typedef struct
{
const gchar *babl_name; /* channel's babl_component name */
......@@ -746,14 +746,14 @@ copy_one_component (GeglBuffer *src,
GeglBuffer *temp;
const GeglRectangle *extent;
/* We are working in linear double precison*/
/* We are working in linear double precision */
component_format = babl_format_new (babl_model (model),
babl_type ("double"),
babl_component (component.babl_name),
NULL);
/* We need to enforce linearity here
* If the output is "Y'", the ouput of temp is already ok
* If the output is "Y'", the output of temp is already ok
* If the output is "Y" , it will enforce gamma-decoding.
* A bit tricky and suboptimal...
*/
......
......@@ -71,8 +71,8 @@ typedef struct
} DespeckleHistogram;
/* Number of pixels in actual histogram falling into each category */
static gint hist0; /* Less than min treshold */
static gint hist255; /* More than max treshold */
static gint hist0; /* Less than min threshold */
static gint hist255; /* More than max threshold */
static gint histrest; /* From min to max */
static DespeckleHistogram histogram;
......@@ -376,7 +376,7 @@ pixel_copy (guchar *dest,
* target pixel, sorts them, and uses the median value. This code uses a
* circular row buffer to improve performance.
*
* The adaptive filter is based on the median filter but analizes the histogram
* The adaptive filter is based on the median filter but analyzes the histogram
* of the region around the target pixel and adjusts the despeckle diameter
* accordingly.
*/
......
......@@ -327,7 +327,7 @@ load_image (const gchar *file,
file_mark, /* KiSS file type */
bpp; /* Bits per pixel */
gint height, width, /* Dimensions of image */
offx, offy, /* Layer offets */
offx, offy, /* Layer offsets */
colors; /* Number of colors */
gint32 image, /* Image */
......
......@@ -411,7 +411,7 @@ load_image (const gchar *filename,
&& !(value_rep[0] == ' ' && value_rep[1]))
)
{
/* Look up type from the dictionary. At the time we dont
/* Look up type from the dictionary. At the time we don't
support this option... */
gchar element_length_chars[4];
......
......@@ -1013,7 +1013,7 @@ open_dialog (const gchar *filename,
if (gimp_dialog_run (GIMP_DIALOG (dialog)) != GTK_RESPONSE_OK)
{
/* Do not set an error here. The import was simply canceled.
* No error occured. */
* No error occurred. */
color_space = OPJ_CLRSPC_UNKNOWN;
}
}
......
......@@ -1426,7 +1426,7 @@ get_layer_color (gint32 layer_ID,
if (gimp_drawable_is_indexed (layer_ID))
{
/* FIXME: We can't do a propper histogram on indexed layers! */
/* FIXME: We can't do a proper histogram on indexed layers! */
*single = FALSE;
col. r = col.g = col.b = col.a = 0;
return col;
......
......@@ -48,7 +48,7 @@
* Add "RunLength" compression
* Fix problem with "Level 2" toggle
* V 1.10, PK, 15-Mar-2000: For load EPSF, allow negative Bounding Box Values
* Save PS: dont start lines of image data with %%
* Save PS: don't start lines of image data with %%
* to prevent problems with stupid PostScript
* analyzer programs (Stanislav Brabec)
* Add BeginData/EndData comments
......@@ -127,8 +127,8 @@ static PSLoadVals plvals =
TRUE, /* try to use BoundingBox */
"1", /* pages to load */
6, /* use ppm (color) */
1, /* dont use text antialiasing */
1 /* dont use graphics antialiasing */
1, /* don't use text antialiasing */
1 /* don't use graphics antialiasing */
};
/* Widgets for width and height of PostScript image to
......@@ -1815,7 +1815,7 @@ read_pnmraw_type (FILE *ifp,
thrd = getc (ifp);
}
pnmtype = scnd - '0';
/* We dont use the ASCII-versions */
/* We don't use the ASCII-versions */
if ((pnmtype >= 1) && (pnmtype <= 3))
return -1;
......
......@@ -508,7 +508,7 @@ run (const gchar *name,
switch (sample_spacing)
{
case 0:
/* Auto-detection already occured. Let's just check if
/* Auto-detection already occurred. Let's just check if
*it was successful.
*/
if (runtime->image_width != 1201 &&
......
......@@ -171,7 +171,7 @@ static FilmVals filmvals =
{ 0.93, 0.61, 0.0, 1.0 }, /* Color of number */
"Monospace", /* Font family for numbering */
{ TRUE, TRUE }, /* Numbering on top and bottom */
0, /* Dont keep max. image height */
0, /* Don't keep max. image height */
0, /* Number of images */
{ 0 } /* Input image list */
};
......@@ -628,7 +628,7 @@ draw_hole_rgb (GimpDrawable *drw,
return;
if ((x+width <= 0) || (x >= d_width))
return;
length = width; /* Check that we dont draw past the image */
length = width; /* Check that we don't draw past the image */
if ((x+length) >= d_width)
length = d_width-x;
......@@ -682,7 +682,7 @@ draw_number (gint32 layer_ID,
if (max_delta < 1)
max_delta = 1;
/* Numbers dont need the descent. Inquire it and move the text down */
/* Numbers don't need the descent. Inquire it and move the text down */
for (k = 0; k < max_delta * 2 + 1; k++)
{
/* Try different font sizes if inquire of extent failed */
......
......@@ -126,7 +126,7 @@ run (const gchar *name,
{
case GIMP_RUN_INTERACTIVE:
gimp_get_data (PLUG_IN_PROC, &pvals);
/* Since a channel might be selected, we must check wheter RGB or not. */
/* Since a channel might be selected, we must check whether RGB or not. */
if (!gimp_drawable_is_rgb (drawable->drawable_id))
{
g_message (_("Can only operate on RGB drawables."));
......
......@@ -732,7 +732,7 @@ find_constants (gdouble n_p[],
gdouble constants [8];
gdouble div;
/* The constants used in the implemenation of a casual sequence
/* The constants used in the implementation of a casual sequence
* using a 4th order approximation of the gaussian operator
*/
......
......@@ -97,10 +97,10 @@ typedef struct
gint32 lvl_out_max; /* 1 up to 255 */
float tol_col_err; /* 0.0% up to 100.0%
* this is used to findout colors of the same
* this is used to find out colors of the same
* colortone, while analyzing sample colors,
* It does not make much sense for the user to adjust this
* value. (I used a param file to findout a suitable value)
* value. (I used a param file to find out a suitable value)
*/
} t_values;
......@@ -175,7 +175,7 @@ typedef struct
* Some globals
*/
static t_samp_interface g_di; /* global dialog interface varables */
static t_samp_interface g_di; /* global dialog interface variables */
static t_values g_values = { -1, -1, 1, 1, 0, 1, 0, 255, 1.0, 0, 255, 5.5 };
static t_samp_table_elem g_lum_tab[256];
static guchar g_lvl_trans_tab[256];
......@@ -555,7 +555,7 @@ smp_constrain (gint32 image_id,
if (image_id < 0)
return FALSE;
/* dont accept layers from indexed images */
/* don't accept layers from indexed images */
if (gimp_drawable_is_indexed (drawable_id))
return FALSE;
......@@ -2756,7 +2756,7 @@ sample_analyze (t_GDRW *sample_gdrw)
if (g_Sdebug)
print_ppm ("sample_color_all.ppm");
/* findout ideal sample colors for each brightness intensity (lum)
/* find out ideal sample colors for each brightness intensity (lum)
* and set g_sample_color_tab to the ideal colors.
*/
ideal_samples ();
......
......@@ -523,7 +523,7 @@ find_constants (gdouble n_p[],
gdouble constants [8];
gdouble div;
/* The constants used in the implemenation of a casual sequence
/* The constants used in the implementation of a casual sequence
* using a 4th order approximation of the gaussian operator
*/
......
......@@ -3130,7 +3130,7 @@ run (const gchar *name,
break;
case GIMP_RUN_NONINTERACTIVE:
default:
/* Not implementet yet... */
/* Not implemented yet... */
gimp_drawable_detach (drawable);
return;
}
......
......@@ -1061,7 +1061,7 @@ tiles_xy (gint width,
}
/* Given a row then srink it down a bit */
/* Given a row then shrink it down a bit */
static void
do_tiles_preview (guchar *dest_row,
guchar *src_rows,
......
......@@ -243,7 +243,7 @@ run (const gchar *name,
}
/* This function is written as if it is blurring a row of pixels,
* even though it can operate on colums, too. There is no difference
* even though it can operate on columns, too. There is no difference
* in the processing of the lines, at least to the blur_line function.
*/